D3753: graft: store the node from where we started the operation in graftstate
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sun Jun 24 19:50:10 UTC 2018
pulkit abandoned this revision.
pulkit added a comment.
In https://phab.mercurial-scm.org/D3753#58884, @yuja wrote:
> > - a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2233,6 +2233,8 @@ raise error.Abort(_('no revisions specified')) cmdutil.checkunfinished(repo) cmdutil.bailifchanged(repo) + # the node from where we started the graft operation + statedata['startnode'] = repo['.'].node()
>
> Nit: Isn't it always the parent of the `newnodes[0]`?
Oh, yes. Let's not store the startnode.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D3753
To: pulkit, #hg-reviewers
Cc: yuja, mercurial-devel
More information about the Mercurial-devel
mailing list