I'm using Mercurial through TortoiseHG. I would like to see what users have worked on a repository. Preferrably just a list of unique user names. However it's not practical to scroll down the (long) list of revisions and noting each name. I could probably solve this with grep but I'm on windows and prefer to avoid installing Cygwin or similar. Is it possible, given these constraints?
hg commit creates a snapshot of the changes to 1 or more files in the local repository. Always write a log message when committing changes. hg diff displays differences between revisions. hg revert recovers old versions of files.
Strictly speaking, the term repository refers to the directory named . hg (dot hg) in the repository root directory. The repository root directory is the parent directory of the . hg directory. Mercurial stores its internal data structures – the metadata – inside that .
Description. The hg command provides a command line interface to the Mercurial system.
If you have PowerShell installed then this does the trick:
hg log --template "{author}\n" | Select -Unique
It takes two or three seconds for my current repository of about 5500 changesets.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With