equal
deleted
inserted
replaced
91 |
91 |
92 def setcurrent(repo, mark): |
92 def setcurrent(repo, mark): |
93 '''Set the name of the bookmark that we are currently on |
93 '''Set the name of the bookmark that we are currently on |
94 |
94 |
95 Set the name of the bookmark that we are on (hg update <bookmark>). |
95 Set the name of the bookmark that we are on (hg update <bookmark>). |
96 The name is recoreded in .hg/bookmarks.current |
96 The name is recorded in .hg/bookmarks.current |
97 ''' |
97 ''' |
98 if current(repo) == mark: |
98 if current(repo) == mark: |
99 return |
99 return |
100 |
100 |
101 refs = parse(repo) |
101 refs = parse(repo) |