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

git-svn: handling merge-base failures

From
Andrew Myrick <amyrick@apple.com>
Date
Dec 23, 2009, 19:54 UTC
Message-ID
<931B0483-7628-488E-BB9F-C40346353149@apple.com>
One of my projects is failing to clone because merge-base is failing on one of the revisions; the branch is a partial branch, so merge-base can't find a common ancestor with trunk.  I'd like to catch the exception that command_oneline should throw when merge-base fails, but my perl is very rusty and I'm struggling to get git-svn.perl to grok the Git::Error::Command class.  What is the appropriate way to import that class?  Or more generally, is there a better solution to handling this error case?
-Andrew
Next: Eric Wong
Message 1 of 7 in “git-svn: handling merge-base failures”
  1. Andrew MyrickDec 23, 2009
  2. Eric WongDec 23, 2009
  3. Andrew MyrickDec 23, 2009
  4. Eric WongDec 23, 2009
  5. Andrew MyrickJan 4, 2010
  6. Eric WongJan 4, 2010
  7. Andrew MyrickJan 4, 2010

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.