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

Re: Problem Using Git with Subversion Repository

From
EWEric Wong <normalperson@yhbt.net>
Date
Jan 9, 2010, 06:31 UTC
Message-ID
<20100109063130.GA2668@dcvr.yhbt.net>
In-Reply-To
<3f81a4241001071453g24297atc1caab4a0a4ad176@mail.gmail.com>
Bryan Richardson <btricha@gmail.com> wrote:
Show 14 quoted lines
> Hello all,
> 
> Has anyone come across a similar problem as this?
> 
> Item already exists in filesystem: File already exists: filesystem
> '/usr/local/svn/repos/my-apps/db', transaction '96-2v', path
> '/app/trunk/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/symlinked'
> at /usr/lib/git-core/git-svn line 508
> 
> I *think* what happened is in a previous git-svn dcommit I removed the
> vendor/rails directory (unfroze rails from my app) and now I'm trying
> to freeze it again, in which case git-svn thinks a file needs to be
> added (instead of modified) and the Subversion repository says the
> file already exists.
Hi Bryan,

Which version of git svn are you using? Any chance we can take a look at the SVN/git history to know what's going on?

Thanks.
> Anyone know a way around it?!

Can you try manually removing that file with "svn rm" and then doing "git svn rebase" to rebase your working HEAD before trying to dcommit?

-- 
Eric Wong
Previous: Bryan Richardson
Message 2 of 2 in “Problem Using Git with Subversion Repository”
  1. Bryan RichardsonJan 7, 2010
  2. Eric WongJan 9, 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.