From: Chuck Lever Date: Sun, 29 Jan 2006 18:08:36 +0000 (-0500) Subject: "stg pull" says "popping all patches" even when it doesn't X-Git-Tag: v0.9~41 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/a34b42e809fab42d08f92fed47d1e2f4226a50fb?hp=16ad223e74aae6fa78ca529e7af7db91097591bf "stg pull" says "popping all patches" even when it doesn't Running "stg pull" says it pops all patches, but it really means it is popping all *applied* patches. Change the informational message to match the behavior. Signed-off-by: Chuck Lever --- diff --git a/stgit/commands/pull.py b/stgit/commands/pull.py index 25832a5..843b579 100644 --- a/stgit/commands/pull.py +++ b/stgit/commands/pull.py @@ -64,7 +64,7 @@ def func(parser, options, args): # pop all patches applied = crt_series.get_applied() if len(applied) > 0: - print 'Popping all patches...', + print 'Popping all applied patches...', sys.stdout.flush() crt_series.pop_patch(applied[0]) print 'done'