~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor message printing
[stgit]
/
stgit
/
commands
/
push.py
diff --git
a/stgit/commands/push.py
b/stgit/commands/push.py
index
a636ad2
..
17b32f6
100644
(file)
--- a/
stgit/commands/push.py
+++ b/
stgit/commands/push.py
@@
-64,13
+64,12
@@
def func(parser, options, args):
if not patch:
raise CmdException, 'No patch to undo'
if not patch:
raise CmdException, 'No patch to undo'
- print 'Undoing the "%s" push...' % patch,
- sys.stdout.flush()
+ out.start('Undoing push of "%s"' % patch)
resolved_all()
if crt_series.undo_push():
resolved_all()
if crt_series.undo_push():
- print 'done'
+ out.done()
else:
else:
- print 'done (patch unchanged)'
+ out.done('patch unchanged')
print_crt_patch()
return
print_crt_patch()
return