Questions tagged [mercurial-revsets]

Mercurial-revsets is a domain-specific language that allows users to specify custom sets of changesets

The language supports a number of predicates which are joined by infix operators. Parenthesis can be used for grouping.

17 questions
0
votes
1 answer

Mercurial log that includes the ancestry of a final revision but excludes anything on the default branch prior to the starting revision

I am working on a script that parses a mercurial log and generates a report of all changes between any two revisions. In order to handle branches, I believe I need to use revsets to generate ancestry of the final revision but I want to limit the…
sje
  • 117
  • 1
  • 9
0
votes
2 answers

How to get log for head of current branch?

I can get the head of the current branch via hg head . I can then get the data I need by copying and pasting the changeset ID from the output of that command into this one: 'hg' 'log' --'limit' '1' --'style' 'xml' --'verbose' --'rev'…
mpen
  • 272,448
  • 266
  • 850
  • 1,236
1
2