changeset 17812:578fcc22b469

amend: do a bare kill of temporary changeset Before this changeset the temporary changeset created by amend was made a precursors on the amend result. This add unnecessary complexity to the obsolescence graph. This temporary commit will probably disappear in the future. It is an unwanted byproduct of amend that nobody cares about.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Thu, 18 Oct 2012 17:54:34 +0200
parents a8aba2921456
children 813db1dccc05
files mercurial/cmdutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Thu Oct 18 22:12:15 2012 +0200
+++ b/mercurial/cmdutil.py	Thu Oct 18 17:54:34 2012 +0200
@@ -1744,7 +1744,7 @@
                 new = repo[newid]
                 obs = [(old, (new,))]
                 if node:
-                    obs.append((ctx, (new,)))
+                    obs.append((ctx, ()))
 
                 obsolete.createmarkers(repo, obs)
             tr.close()