Mercurial > hg
comparison mercurial/commands.py @ 31046:f5d27f5442a0
tags: enable pager
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 06 Feb 2017 23:07:16 -0500 |
parents | 8467569991cb |
children | 8aaebe8e47ec |
comparison
equal
deleted
inserted
replaced
31045:8467569991cb | 31046:f5d27f5442a0 |
---|---|
5212 When the -q/--quiet switch is used, only the tag name is printed. | 5212 When the -q/--quiet switch is used, only the tag name is printed. |
5213 | 5213 |
5214 Returns 0 on success. | 5214 Returns 0 on success. |
5215 """ | 5215 """ |
5216 | 5216 |
5217 ui.pager('tags') | |
5217 fm = ui.formatter('tags', opts) | 5218 fm = ui.formatter('tags', opts) |
5218 hexfunc = fm.hexfunc | 5219 hexfunc = fm.hexfunc |
5219 tagtype = "" | 5220 tagtype = "" |
5220 | 5221 |
5221 for t, n in reversed(repo.tagslist()): | 5222 for t, n in reversed(repo.tagslist()): |