##// END OF EJS Templates
update: remove unnecessary argument check
Kevin Bullock -
r17807:b11d181b default
parent child Browse files
Show More
@@ -5848,7 +5848,7 b' def update(ui, repo, node=None, rev=None'
5848
5848
5849 # with no argument, we also move the current bookmark, if any
5849 # with no argument, we also move the current bookmark, if any
5850 movemarkfrom = None
5850 movemarkfrom = None
5851 if rev is None or node == '':
5851 if rev is None:
5852 movemarkfrom = repo['.'].node()
5852 movemarkfrom = repo['.'].node()
5853
5853
5854 # if we defined a bookmark, we have to remember the original bookmark name
5854 # if we defined a bookmark, we have to remember the original bookmark name
General Comments 0
You need to be logged in to leave comments. Login now