evolve: remove dead code
authorSushil khanchi <sushilkhanchi97@gmail.com>
Sat, 28 Dec 2019 23:20:05 +0530
changeset 5051 9346f0e934be
parent 5050 f29bd1c7e457
child 5052 b9a7fb0a0a49
evolve: remove dead code
hgext3rd/evolve/evolvecmd.py
--- a/hgext3rd/evolve/evolvecmd.py	Sat Dec 07 23:13:40 2019 +0530
+++ b/hgext3rd/evolve/evolvecmd.py	Sat Dec 28 23:20:05 2019 +0530
@@ -156,8 +156,6 @@
                 target = repo[selectedrev]
             else:
                 target = repo[heads.first()]
-        else:
-            target = targets[0]
     target = repo[target]
     if not ui.quiet or confirm:
         repo.ui.write(_(b'move:'), label=b'evolve.operation')