"hg since" extension

Gilles Moris gilles.moris at free.fr
Wed Nov 11 14:59:44 CST 2009


On Wednesday 11 November 2009 08:15:59 pm CG Linden wrote:
> I'm working on an extension to give me a good answer to the question "what
> changed since revision X". It appears trivially easy. Mark all ancestors of
> the specified revision as "seen", then list all unseen ancestors of "tip".

You might also take a look at:
hg log --follow --no-merges --rev myrev:

From hg help log :
 -f --follow        follow changeset history, or file history across copies 
and renames
--follow without a filename will only show ancestors or descendants of the 
starting revision.

 -M --no-merges     do not show merges

and from hg help multirevs :
    The syntax of range notation is [BEGIN]:[END], where BEGIN and END are 
revision identifiers. Both BEGIN and END are optional. If BEGIN is not 
specified, it defaults to revision number 0. If END is not specified, it 
defaults to the tip. The range ":" thus means "all revisions".

Regards.
Gilles.


More information about the Mercurial-devel mailing list