threads / patch / 3177

patch"stg pull" says "popping all patches" even when it doesn't

Subject: [PATCH] "stg pull" says "popping all patches" even when it doesn't

## tl;dr

One message between Jan 29, 2006 and Jan 29, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Chuck Lever· Jan 29, 2006, 18:08 UTC · lore

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 <cel@netapp.com>
---
 stgit/commands/pull.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to stgit/commands/pull.py +1 −1
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'

← back to recent threads