diff hgext/evolve.py @ 1484:e3484e9632cd

split: don't update before it is actually needed Before this patch, we were updating the working copy parent needlessly and before the error checking. This patch fixes the issue.
author Laurent Charignon <lcharignon@fb.com>
date Sat, 08 Aug 2015 12:45:36 -0700
parents 3c0aebe73482
children 1ba64be11bf8
line wrap: on
line diff
--- a/hgext/evolve.py	Sat Aug 08 12:16:55 2015 -0700
+++ b/hgext/evolve.py	Sat Aug 08 12:45:36 2015 -0700
@@ -2583,7 +2583,6 @@
             raise util.Abort(_("you can only specify one revision to split"))
         else:
             rev = list(revs)[0]
-            commands.update(ui, repo, rev)
     else:
         rev = '.'