##// END OF EJS Templates
amend: move obsmarkers creation in the "new changeset" conditional...
Pierre-Yves David -
r25710:68c83b8d default
parent child Browse files
Show More
@@ -2620,7 +2620,7 b' def amend(ui, repo, commitfunc, old, ext'
2620 marks[bm] = newid
2620 marks[bm] = newid
2621 marks.recordchange(tr)
2621 marks.recordchange(tr)
2622 #commit the whole amend process
2622 #commit the whole amend process
2623 if createmarkers and newid != old.node():
2623 if createmarkers:
2624 # mark the new changeset as successor of the rewritten one
2624 # mark the new changeset as successor of the rewritten one
2625 new = repo[newid]
2625 new = repo[newid]
2626 obs = [(old, (new,))]
2626 obs = [(old, (new,))]
General Comments 0
You need to be logged in to leave comments. Login now