chiark
/
gitweb
/
~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bca31c2
)
Fix uncommit status message
author
Karl Hasselström
<kha@treskal.com>
Wed, 23 Jul 2008 21:29:08 +0000
(23:29 +0200)
committer
Karl Hasselström
<kha@treskal.com>
Thu, 24 Jul 2008 22:03:14 +0000
(
00:03
+0200)
It should say
Uncommitting to
8561b089afbaed2651591e5a4574fdca451d82f2
(exclusive) ...
not
Uncommitting to Commit<sha1:
8561b089afbaed2651591e5a4574fdca451d82f2
, data: None> (exclusive) ...
(though arguably, the sha1 should be abbreviated as well).
Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/commands/uncommit.py
patch
|
blob
|
blame
|
history
diff --git
a/stgit/commands/uncommit.py
b/stgit/commands/uncommit.py
index 9d2dba94c3a7289ec4953b2f810f34d70803f16d..c21306b4705576e9e0831233db7fb82d4f6b9590 100644
(file)
--- a/
stgit/commands/uncommit.py
+++ b/
stgit/commands/uncommit.py
@@
-104,9
+104,9
@@
def func(parser, options, args):
next_commit = get_parent(next_commit)
else:
if options.exclusive:
- out.start('Uncommitting to %s (exclusive)' % to_commit)
+ out.start('Uncommitting to %s (exclusive)' % to_commit
.sha1
)
else:
- out.start('Uncommitting to %s' % to_commit)
+ out.start('Uncommitting to %s' % to_commit
.sha1
)
while True:
if next_commit == to_commit:
if not options.exclusive: