Mercurial > hg
changeset 16189:41bef17e6ad8 stable
update: don't move the active bookmark if a rev is specified with -r
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Tue, 28 Feb 2012 01:07:55 +0200 |
parents | 6b52963ced73 |
children | 9479c28a22bf |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Feb 27 18:23:18 2012 +0100 +++ b/mercurial/commands.py Tue Feb 28 01:07:55 2012 +0200 @@ -5701,7 +5701,7 @@ # with no argument, we also move the current bookmark, if any movemarkfrom = None - if node is None or node == '': + if rev is None or node == '': movemarkfrom = repo['.'].node() # if we defined a bookmark, we have to remember the original bookmark name