equal
deleted
inserted
replaced
5997 |
5997 |
5998 Returns 0 on success. |
5998 Returns 0 on success. |
5999 """ |
5999 """ |
6000 |
6000 |
6001 fm = ui.formatter('tags', opts) |
6001 fm = ui.formatter('tags', opts) |
6002 hexfunc = ui.debugflag and hex or short |
6002 if fm or ui.debugflag: |
|
6003 hexfunc = hex |
|
6004 else: |
|
6005 hexfunc = short |
6003 tagtype = "" |
6006 tagtype = "" |
6004 |
6007 |
6005 for t, n in reversed(repo.tagslist()): |
6008 for t, n in reversed(repo.tagslist()): |
6006 hn = hexfunc(n) |
6009 hn = hexfunc(n) |
6007 label = 'tags.normal' |
6010 label = 'tags.normal' |