Thread (10 messages) flat view 10 messages, 1 author, 2016-06-15
DORMANTno replies

[StGIT PATCH 4/9] Fixed thinko in error message.

From: Yann Dirson <hidden>
Date: 2016-06-15 22:43:17
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Yann Dirson <redacted>
---

 stgit/commands/rebase.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/stgit/commands/rebase.py b/stgit/commands/rebase.py
index 1cde2ad..111d78e 100644
--- a/stgit/commands/rebase.py
+++ b/stgit/commands/rebase.py
@@ -55,7 +55,7 @@ class concreteCommand(Command):
 
         # ensure an exception is raised before popping on non-existent target
         if git_id(self.args[0]) == None:
-            raise GitException, 'Unknown revision: %s' % git_id
+            raise GitException, 'Unknown revision: %s' % git_id(self.args[0])
 
         applied = prepare_rebase(force=self.flags.force)
         rebase(self.args[0])
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help