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

A bug with "git svn show-externals"

From
TPTao Peng <pengtao@me.com>
Date
Oct 25, 2016, 23:53 UTC
Message-ID
<B8D25850-A4DE-435C-A856-240D612D59DA@me.com>
Hi there,
I met a bug of the "git svn show-externals” command.  If a subdirectory item has a svn:externals property, and the format of the property is “URL first, then the local path”, running "git svn show-externals” command at the root level will result in an unusable output.

Example: $ svn pg svn:externals svn+ssh://src.foo.com/svn/ref/English.lproj/ svn+ssh://src.foo.com/svn/orig/trunk/Resources/English.lproj/Localizable.strings Localizable.strings

$ git svn show-externals # /English.lproj/ /English.lproj/svn+ssh://src.foo.com/svn/orig/trunk/Resources/English.lproj/Localizable.strings Localizable.strings

This bug is preventing my script from correctly finishing the svn-to-git repo migration work. Does anyone know a workaround to this bug?

Thanks, Peng

Next: Eric Wong
Message 1 of 2 in “A bug with "git svn show-externals"”
  1. Tao PengOct 25, 2016
  2. Eric WongOct 26, 2016

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.