Questions tagged [hg-log]

16 questions
0
votes
3 answers

Mercurial 2.1.1 - Determine if a changeset is a merge

In Mercurial 2.4 a template keyword {p2rev} was added that can be used to determine if a changeset is a merge. hg log -r42 --template {p2rev} If this returns "-1", there is no second parent, hence the changeset is not a merge, otherwise it is a…
jan
  • 1,581
  • 2
  • 19
  • 34
1
2