Mercurial > hg
changeset 20235:a602d2aca8bf
commands.bookmarks: move hexfn to inside list block
This isn't used outside this block, nor is it expected to be.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Tue, 19 Nov 2013 12:43:29 -0800 |
parents | 8a133190da89 |
children | d0097d5818f9 |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Nov 19 12:42:17 2013 -0800 +++ b/mercurial/commands.py Tue Nov 19 12:43:29 2013 -0800 @@ -807,8 +807,6 @@ rename = opts.get('rename') inactive = opts.get('inactive') - hexfn = ui.debugflag and hex or short - def checkformat(mark): mark = mark.strip() if not mark: @@ -920,6 +918,7 @@ finally: wlock.release() else: # show bookmarks + hexfn = ui.debugflag and hex or short marks = repo._bookmarks if len(marks) == 0: ui.status(_("no bookmarks set\n"))