##// END OF EJS Templates
commit: clear mergestate also with --amend (issue6304)...
Martin von Zweigbergk -
r45948:6ba7190f default
parent child Browse files
Show More
@@ -3259,6 +3259,7 b' def amend(ui, repo, old, extra, pats, op'
3259 if opts.get(b'secret'):
3259 if opts.get(b'secret'):
3260 commitphase = phases.secret
3260 commitphase = phases.secret
3261 newid = repo.commitctx(new)
3261 newid = repo.commitctx(new)
3262 ms.reset()
3262
3263
3263 # Reroute the working copy parent to the new changeset
3264 # Reroute the working copy parent to the new changeset
3264 repo.setparents(newid, nullid)
3265 repo.setparents(newid, nullid)
@@ -113,7 +113,6 b' Nothing changed'
113 $ hg ci --amend --config experimental.evolution.allowunstable=True
113 $ hg ci --amend --config experimental.evolution.allowunstable=True
114 1 new orphan changesets
114 1 new orphan changesets
115 $ hg resolve -l
115 $ hg resolve -l
116 R f
117 $ cd ..
116 $ cd ..
118 #endif
117 #endif
119
118
General Comments 0
You need to be logged in to leave comments. Login now