mercurial/commands.py
branchstable
changeset 18479 0efd5686f80c
parent 18476 1fb9890c55bd
child 18621 b1e949f6c17d
child 18657 d4a79e075303
equal deleted inserted replaced
18478:886936ecc21b 18479:0efd5686f80c
   871             bookmarks.setcurrent(repo, None)
   871             bookmarks.setcurrent(repo, None)
   872 
   872 
   873     else: # show bookmarks
   873     else: # show bookmarks
   874         for bmark, n in sorted(marks.iteritems()):
   874         for bmark, n in sorted(marks.iteritems()):
   875             current = repo._bookmarkcurrent
   875             current = repo._bookmarkcurrent
   876             if bmark == current and n == cur:
   876             if bmark == current:
   877                 prefix, label = '*', 'bookmarks.current'
   877                 prefix, label = '*', 'bookmarks.current'
   878             else:
   878             else:
   879                 prefix, label = ' ', ''
   879                 prefix, label = ' ', ''
   880 
   880 
   881             if ui.quiet:
   881             if ui.quiet: