[StGIT PATCH 4/7] Fixed thinko in error message.
Signed-off-by: Yann Dirson <ydirson@altern.org>
---
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 e47772c..c68f8e7 100644
--- a/stgit/commands/rebase.py
+++ b/stgit/commands/rebase.py
@@ -54,7 +54,7 @@ def func(parser, options, args):
# ensure an exception is raised before popping on non-existent target
if git_id(args[0]) == None:
- raise GitException, 'Unknown revision: %s' % git_id
+ raise GitException, 'Unknown revision: %s' % args[0]
applied = prepare_rebase(force=options.force)
rebase(args[0])