D727: rebase: move bookmarks with --keep (issue5682)
quark (Jun Wu)
phabricator at mercurial-scm.org
Mon Sep 18 15:04:14 EDT 2017
quark added inline comments.
INLINE COMMENTS
> scmutil.py:624-646
> + if len(newnodes) > 1:
> + # usually a split, take the one with biggest rev number
> + newnode = next(repo.set('max(%ln)', newnodes)).node()
> + elif len(newnodes) == 0:
> + # move bookmark backwards
> + roots = list(repo.set('max((::%n) - %ln)', oldnode,
> + list(mapping)))
This is unchanged if viewed with whitespace ignored: https://phab.mercurial-scm.org/D727?whitespace=ignore-all
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D727
To: quark, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list