equal
deleted
inserted
replaced
528 if rev: |
528 if rev: |
529 raise util.Abort(_("bookmark name required")) |
529 raise util.Abort(_("bookmark name required")) |
530 if len(marks) == 0: |
530 if len(marks) == 0: |
531 ui.status(_("no bookmarks set\n")) |
531 ui.status(_("no bookmarks set\n")) |
532 else: |
532 else: |
533 for bmark, n in marks.iteritems(): |
533 for bmark, n in sorted(marks.iteritems()): |
534 if ui.configbool('bookmarks', 'track.current'): |
534 if ui.configbool('bookmarks', 'track.current'): |
535 current = repo._bookmarkcurrent |
535 current = repo._bookmarkcurrent |
536 if bmark == current and n == cur: |
536 if bmark == current and n == cur: |
537 prefix, label = '*', 'bookmarks.current' |
537 prefix, label = '*', 'bookmarks.current' |
538 else: |
538 else: |