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

Re: Bug in git-svn: dcommit commits in the wrong branch after a rebase

From
Benoit SIGOURE <tsuna@lrde.epita.fr>
Date
Aug 9, 2007, 15:45 UTC
Message-ID
<6E86FCDA-F2A9-4516-8CE7-E1CC385FA9E2@lrde.epita.fr>
In-Reply-To
<21FC6D7F-5459-406D-AA06-D16E525B3C17@lrde.epita.fr>
On Aug 8, 2007, at 11:35 PM, Benoit SIGOURE wrote:
Show 20 quoted lines
> Test case:
>
> svnadmin create repos
> svn co file://`pwd`/repos wc
> cd wc
> svn mkdir branches
> svn mkdir branches/a
> echo foo >branches/a/foo
> svn add branches/a/foo
> svn ci -m 'branch a'
> cd ..
> git-svn clone --branches=branches file://`pwd`/repos wc.git
> cd wc.git
> echo git is cool >>foo
> git-commit -a -m 'commit in git in branch a'
> cd ../wc
> svn cp branches/a branches/b
> svn ci -m 'branch b'
> cd ../wc.git
> git-svn fetch
Show 5 quoted lines
> git-checkout -b myb b
> git-rebase master
> git-svn dcommit # sends the commit to SVN branch `a' instead of SVN  
> branch `b'!
>

Actually the test case is wrong, it should end in: git-rebase b # while being on `master' branch git-svn dcommit # this works as expected

Thanks to siprbaum for spotting this on IRC.  Sorry for the noise.
-- 
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
Previous: Benoit SIGOURENext: Steven Grimm
Message 2 of 3 in “Bug in git-svn: dcommit commits in the wrong branch after a rebase”
  1. Benoit SIGOUREAug 8, 2007
  2. Benoit SIGOUREAug 9, 2007
  3. Steven GrimmAug 9, 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.