Created
September 2, 2016 18:50
-
-
Save nafSadh/12a1a4e7ea966fbe237933f8ed34cd1f to your computer and use it in GitHub Desktop.
Gives mercurial commit count for each file in a directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dir -r | % { New-Object PSObject -Property ` | |
@{ ` | |
Count = hg log -q $_.Name | wc -l; ` | |
FileName = $_.Name; ` | |
}} ` | |
| % { $_.Count + ' -- ' + $_.FileName; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment