Mercurial > hg
comparison hgext/mq.py @ 11730:7469ff872122
qfinish: fix range logic for --applied
qbase:qtip can include non-mq csets, use qbase::qtip instead
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 01 Aug 2010 16:02:56 -0500 |
parents | a286a4ecbfeb |
children | 9b771b4ce2f3 |
comparison
equal
deleted
inserted
replaced
11729:c91b86a291b0 | 11730:7469ff872122 |
---|---|
2572 to upstream. | 2572 to upstream. |
2573 """ | 2573 """ |
2574 if not opts['applied'] and not revrange: | 2574 if not opts['applied'] and not revrange: |
2575 raise util.Abort(_('no revisions specified')) | 2575 raise util.Abort(_('no revisions specified')) |
2576 elif opts['applied']: | 2576 elif opts['applied']: |
2577 revrange = ('qbase:qtip',) + revrange | 2577 revrange = ('qbase::qtip',) + revrange |
2578 | 2578 |
2579 q = repo.mq | 2579 q = repo.mq |
2580 if not q.applied: | 2580 if not q.applied: |
2581 ui.status(_('no patches applied\n')) | 2581 ui.status(_('no patches applied\n')) |
2582 return 0 | 2582 return 0 |