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

Re: a git svn bug

From
EWEric Wong <e@80x24.org>
Date
Dec 29, 2018, 04:16 UTC
Message-ID
<20181229041615.ay7pazjqozbvz7qz@dcvr>
In-Reply-To
<650358a3.8395.167f09e21b6.Coremail.06271023@bjtu.edu.cn>
肖建晶 <06271023@bjtu.edu.cn> wrote:
Show 7 quoted lines
> hi,
>    git developers. I found a bug when i want to convert webkit to git
>    there are some branch named safari... in webkit svn repo.
>    when i want to convert them to branch in git. a problem happen.
> 
>    if you want to reproduce the problem, just follow the guide below.
>    1. git svn clone -s https://svn.webkit.org/......
Do you mean  https://svn.webkit.org/repository/webkit ?
>    2. when it runs to about r13800, stop it and rerun the above command

So running "clone" again? Normally, I'd run "git svn fetch" if I stopped and want to resume (or my Internet connection drops, which happens a lot).

Show 7 quoted lines
>    3. the git client will check the refs it already found, and
>    if it met a ~ in the branch name. it will failed to
>    proceed. error is git thinks it an invalid ref name
>j
>    i digged into it, and found a solution in
>    git/perl/git/svn.pm. I mod this file and bypass the
>    problem.
Can you show us what you did to perl/Git/SVN.pm?

the "refname" sub in perl/Git/SVN.pm already escapes "~", it seems.

>    plean be kind to fix the problem and remind me the fix
>    commit, and i will update to a new version.
We'll try, but I think we need more information.  Thanks.
Previous: 肖建晶Next: 肖建晶
Message 2 of 3 in “a git svn bug”
  1. 肖建晶Dec 27, 2018
  2. Eric WongDec 29, 2018
  3. 肖建晶Feb 11, 2019

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.