git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Yann Dirson <ydirson@altern.org>
Date
Jun 16, 2007, 22:00 UTC
Message-ID
<20070616220049.14941.26563.stgit@gandelf.nowhere.earth>
In-Reply-To
<20070616213615.14941.31187.stgit@gandelf.nowhere.earth>
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 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])
Previous: Yann DirsonNext: Yann Dirson
Message 4 of 10 in “Refactoring of command handling”
  1. 0/9 Refactoring of command handlingYann Dirson, Jun 16, 2007
  2. 1/9 Fix contrib/stg-whatchanged way of identifying a conflict.Yann Dirson, Jun 16, 2007
  3. 2/9 Revert part of the reverted commit that we want to keep.Yann Dirson, Jun 16, 2007
  4. 4/9 Fixed thinko in error message.Yann Dirson, Jun 16, 2007
  5. 5/9 Promote more common functions to Command methods.Yann Dirson, Jun 16, 2007
  6. 6/9 Changed sync not to use -b which has other semantics.Yann Dirson, Jun 16, 2007
  7. 7/9 Replace crt_series uses with a method call.Yann Dirson, Jun 16, 2007
  8. 8/9 Add a constructor to PatchSet.Yann Dirson, Jun 16, 2007
  9. 9/9 Cleanup the use of the Series class.Yann Dirson, Jun 16, 2007
  10. Yann DirsonJun 19, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.