equal
deleted
inserted
replaced
191 if ui.configbool('bookmarks', 'track.current'): |
191 if ui.configbool('bookmarks', 'track.current'): |
192 prefix = (bmark == current(repo) and n == cur) and '*' or ' ' |
192 prefix = (bmark == current(repo) and n == cur) and '*' or ' ' |
193 else: |
193 else: |
194 prefix = (n == cur) and '*' or ' ' |
194 prefix = (n == cur) and '*' or ' ' |
195 |
195 |
196 ui.write(" %s %-25s %d:%s\n" % ( |
196 if ui.quiet: |
197 prefix, bmark, repo.changelog.rev(n), hexfn(n))) |
197 ui.write("%s\n" % bmark) |
|
198 else: |
|
199 ui.write(" %s %-25s %d:%s\n" % ( |
|
200 prefix, bmark, repo.changelog.rev(n), hexfn(n))) |
198 return |
201 return |
199 |
202 |
200 def _revstostrip(changelog, node): |
203 def _revstostrip(changelog, node): |
201 srev = changelog.rev(node) |
204 srev = changelog.rev(node) |
202 tostrip = [srev] |
205 tostrip = [srev] |