~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement the 'goto' command
[stgit]
/
stgit
/
commands
/
pop.py
diff --git
a/stgit/commands/pop.py
b/stgit/commands/pop.py
index
64848f8
..
9bee9f1
100644
(file)
--- a/
stgit/commands/pop.py
+++ b/
stgit/commands/pop.py
@@
-72,15
+72,6
@@
def func(parser, options, args):
if patches == []:
raise CmdException, 'No patches to pop'
if patches == []:
raise CmdException, 'No patches to pop'
- # pop everything to the given patch
- p = patches[-1]
- if len(patches) == 1:
- print 'Popping patch "%s"...' % p,
- else:
- print 'Popping "%s" - "%s" patches...' % (patches[0], p),
- sys.stdout.flush()
-
- crt_series.pop_patch(p)
+ pop_patches(patches)
- print 'done'
print_crt_patch()
print_crt_patch()