I want to retrieve commit order number, counting ONLY commits of specific branch (master).
As a branch “master” is the same on each machine/repo, then this will allow me to:
1. Have the same number regardless of the repository
2. Use this number in a version string.
So, is there any way to accomplish this?
hg log -b master --template "." | wc -mfor exampleOutput current amount of changesets in branch