hgext/bookmarks.py
changeset 8087 6dcf425cc2a6
parent 7984 5c61c75c2384
child 8225 46293a0c7e9f
equal deleted inserted replaced
8086:89b6450148d0 8087:6dcf425cc2a6
    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)