[PATCH 4 of 4] rebase: update working directory when aborting (issue5084)

timeless timeless at gmail.com
Mon Mar 7 12:10:50 EST 2016

FUJIWARA Katsunori <foozy at lares.dti.ne.jp> wrote:
> In this case, the result of '. & (%ld)' query for shouldupdate is used
> only by len(), and node-nization isn't needed for len().
> Therefore, "len(repo.revs('. & (%ld)', rebased))" seems enough, and
> more efficient than implementation above. The former can omit
> instantiation of changectx and invocation of node() on it for each
> revisions.
> (or, do I overlook any important side effect of node-nization in this case ?)

I don't understand revsets anywhere near enough. If you're confident,
please feel free to submit a followup.

More information about the Mercurial-devel mailing list