equal
deleted
inserted
replaced
5846 if rev is None or rev == '': |
5846 if rev is None or rev == '': |
5847 rev = node |
5847 rev = node |
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 |
5855 brev = rev |
5855 brev = rev |
5856 rev = scmutil.revsingle(repo, rev, rev).rev() |
5856 rev = scmutil.revsingle(repo, rev, rev).rev() |