##// END OF EJS Templates
bookmarks: show active bookmark even if not at working dir...
Kevin Bullock -
r18479:0efd5686 stable
parent child Browse files
Show More
@@ -873,7 +873,7 b' def bookmark(ui, repo, mark=None, rev=No'
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 = ' ', ''
@@ -47,7 +47,7 b' import bookmark by name'
47 (run 'hg update' to get a working copy)
47 (run 'hg update' to get a working copy)
48 $ hg bookmarks
48 $ hg bookmarks
49 X 0:4e3505fd9583
49 X 0:4e3505fd9583
50 Y 0:4e3505fd9583
50 * Y 0:4e3505fd9583
51 Z 0:4e3505fd9583
51 Z 0:4e3505fd9583
52 $ hg debugpushkey ../a namespaces
52 $ hg debugpushkey ../a namespaces
53 bookmarks
53 bookmarks
@@ -64,7 +64,7 b' import bookmark by name'
64 importing bookmark X
64 importing bookmark X
65 $ hg bookmark
65 $ hg bookmark
66 X 0:4e3505fd9583
66 X 0:4e3505fd9583
67 Y 0:4e3505fd9583
67 * Y 0:4e3505fd9583
68 Z 0:4e3505fd9583
68 Z 0:4e3505fd9583
69
69
70 export bookmark by name
70 export bookmark by name
General Comments 0
You need to be logged in to leave comments. Login now