Bashism of @Jello is rather good, but... it's bashism.
Some steps (not ready to use solution) to almost pure hg-style
- Re-read
hg help revsets
+ hg help templates
All starting points of branches (named and anonymous) are child of branchpoints. All changesets have authors. Because every branch may have any amounts branchpoints in it (and every branchpoint means 2 branches of child), branchnames can be duplicated in output of suggested command (and I'm too lazy to clean-up it)
Task 1 - find all starting revisions of branches
-r "children(branchpoint())"
Task 2 - output only branch and author of changeset
--template "{branch} - {author}"
full command (T1+T2, all branches of all users), somrthing like this
hg log -r "children(branchpoint())" --template "{branch} - {author}\n"
as starting point.
You can:
- add
ifeq
logic into template (don't print "old" branchname for changesets with
branch(r)=branch(p1))
- add ANDed condition "USER" into revset, define full command as parametrised alias and have ready to use shareable solution
0:
bit do? – Housebreaker