X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/d0bfda1a1a21cb1f4ef661051199f98fd4869752..994fdba73855eb93305d4722678b2af8266dbcb5:/stgit/commands/pop.py diff --git a/stgit/commands/pop.py b/stgit/commands/pop.py index 64848f8..9bee9f1 100644 --- 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' - # 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()