[PATCH] fix graphlog to work with revsets correctly

Alexander Solovyov alexander at solovyov.net
Tue Dec 14 07:02:03 CST 2010

On Tue, Dec 14, 2010 at 13:40, Alexander Solovyov
<alexander at solovyov.net> wrote:
> -def revisions(repo, start, stop):
> +def revisions(repo, revs):

Maybe it would be better to get argument to cmdutil.revrange here
instead of taking
list of revisions? But then graphlog should have some other idea on
exiting early
if there is nothing to display.

>     """cset DAG generator yielding (id, CHANGESET, ctx, [parentids]) tuples
>     This generator function walks through the revision history from revision
> @@ -29,27 +29,29 @@ def revisions(repo, start, stop):
>     returns a tuple for each node. The node and parent ids are arbitrary
>     integers which identify a node in the context of the graph returned.
>     """

Uhm, I forgot to update docstrings, will do that (though I'll wait a
bit for a feedback
on this one before resending).


More information about the Mercurial-devel mailing list