update: remove unnecessary argument check
authorKevin Bullock <kbullock@ringworld.org>
Sat, 05 May 2012 15:30:54 -0500
changeset 17807 b11d181b87ba
parent 17806 dc7010ed0101
child 17808 f74217289c0a
update: remove unnecessary argument check
mercurial/commands.py
--- a/mercurial/commands.py	Sun Oct 14 20:27:55 2012 +0200
+++ b/mercurial/commands.py	Sat May 05 15:30:54 2012 -0500
@@ -5848,7 +5848,7 @@
 
     # with no argument, we also move the current bookmark, if any
     movemarkfrom = None
-    if rev is None or node == '':
+    if rev is None:
         movemarkfrom = repo['.'].node()
 
     # if we defined a bookmark, we have to remember the original bookmark name