##// END OF EJS Templates
commands.bookmarks: move hexfn to inside list block...
Siddharth Agarwal -
r20235:a602d2ac default
parent child Browse files
Show More
@@ -807,8 +807,6 b' def bookmark(ui, repo, *names, **opts):'
807 807 rename = opts.get('rename')
808 808 inactive = opts.get('inactive')
809 809
810 hexfn = ui.debugflag and hex or short
811
812 810 def checkformat(mark):
813 811 mark = mark.strip()
814 812 if not mark:
@@ -920,6 +918,7 b' def bookmark(ui, repo, *names, **opts):'
920 918 finally:
921 919 wlock.release()
922 920 else: # show bookmarks
921 hexfn = ui.debugflag and hex or short
923 922 marks = repo._bookmarks
924 923 if len(marks) == 0:
925 924 ui.status(_("no bookmarks set\n"))
General Comments 0
You need to be logged in to leave comments. Login now