##// END OF EJS Templates
update: don't move the active bookmark if a rev is specified with -r
Idan Kamara -
r16189:41bef17e stable
parent child Browse files
Show More
@@ -5701,7 +5701,7 b' def update(ui, repo, node=None, rev=None'
5701
5701
5702 # with no argument, we also move the current bookmark, if any
5702 # with no argument, we also move the current bookmark, if any
5703 movemarkfrom = None
5703 movemarkfrom = None
5704 if node is None or node == '':
5704 if rev is None or node == '':
5705 movemarkfrom = repo['.'].node()
5705 movemarkfrom = repo['.'].node()
5706
5706
5707 # if we defined a bookmark, we have to remember the original bookmark name
5707 # 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