Show More
@@ -2126,7 +2126,7 b' def series(ui, repo, **opts):' | |||||
2126 | repo.mq.qseries(repo, missing=opts.get('missing'), summary=opts.get('summary')) |
|
2126 | repo.mq.qseries(repo, missing=opts.get('missing'), summary=opts.get('summary')) | |
2127 | return 0 |
|
2127 | return 0 | |
2128 |
|
2128 | |||
2129 |
@command("qtop", |
|
2129 | @command("qtop", seriesopts, _('hg qtop [-s]')) | |
2130 | def top(ui, repo, **opts): |
|
2130 | def top(ui, repo, **opts): | |
2131 | """print the name of the current patch |
|
2131 | """print the name of the current patch | |
2132 |
|
2132 | |||
@@ -2140,7 +2140,7 b' def top(ui, repo, **opts):' | |||||
2140 | ui.write(_("no patches applied\n")) |
|
2140 | ui.write(_("no patches applied\n")) | |
2141 | return 1 |
|
2141 | return 1 | |
2142 |
|
2142 | |||
2143 |
@command("qnext", |
|
2143 | @command("qnext", seriesopts, _('hg qnext [-s]')) | |
2144 | def next(ui, repo, **opts): |
|
2144 | def next(ui, repo, **opts): | |
2145 | """print the name of the next patch |
|
2145 | """print the name of the next patch | |
2146 |
|
2146 | |||
@@ -2152,7 +2152,7 b' def next(ui, repo, **opts):' | |||||
2152 | return 1 |
|
2152 | return 1 | |
2153 | q.qseries(repo, start=end, length=1, summary=opts.get('summary')) |
|
2153 | q.qseries(repo, start=end, length=1, summary=opts.get('summary')) | |
2154 |
|
2154 | |||
2155 |
@command("qprev", |
|
2155 | @command("qprev", seriesopts, _('hg qprev [-s]')) | |
2156 | def prev(ui, repo, **opts): |
|
2156 | def prev(ui, repo, **opts): | |
2157 | """print the name of the previous patch |
|
2157 | """print the name of the previous patch | |
2158 |
|
2158 |
General Comments 0
You need to be logged in to leave comments.
Login now