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.
--- 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()