X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/faed67707d8377ddb68fa8ba199d85ed90d1f27c..a5bbc44d012e4d50fc35b428ed342997454c8c8f:/stgit/commands/push.py diff --git a/stgit/commands/push.py b/stgit/commands/push.py index c653ce7..eeb37c4 100644 --- a/stgit/commands/push.py +++ b/stgit/commands/push.py @@ -66,8 +66,10 @@ def func(parser, options, args): print 'Undoing the "%s" push...' % patch, sys.stdout.flush() resolved_all() - crt_series.undo_push() - print 'done' + if crt_series.undo_push(): + print 'done' + else: + print 'done (patch unchanged)' print_crt_patch() return