mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
bookmarks: this is a comment, not a string
This commit is contained in:
parent
3849c6d745
commit
8475dd904f
@ -101,7 +101,7 @@ def setcurrent(repo, mark):
|
||||
|
||||
refs = parse(repo)
|
||||
|
||||
'do not update if we do update to an rev equal to the current bookmark'
|
||||
# do not update if we do update to a rev equal to the current bookmark
|
||||
if (mark not in refs and
|
||||
current(repo) and refs[current(repo)] == repo.changectx('.').node()):
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user