Mercurial > hg-stable
diff mercurial/commands.py @ 17807:b11d181b87ba
update: remove unnecessary argument check
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Sat, 05 May 2012 15:30:54 -0500 |
parents | dc7010ed0101 |
children | f74217289c0a |
line wrap: on
line diff
--- 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