git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem Using Git with Subversion Repository
@ 2010-01-07 22:53 Bryan Richardson
  2010-01-09  6:31 ` Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Bryan Richardson @ 2010-01-07 22:53 UTC (permalink / raw)
  To: git

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.

Anyone know a way around it?!

--
Thanks!
Bryan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem Using Git with Subversion Repository
  2010-01-07 22:53 Problem Using Git with Subversion Repository Bryan Richardson
@ 2010-01-09  6:31 ` Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2010-01-09  6:31 UTC (permalink / raw)
  To: Bryan Richardson; +Cc: git

Bryan Richardson <btricha@gmail.com> wrote:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-09  6:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07 22:53 Problem Using Git with Subversion Repository Bryan Richardson
2010-01-09  6:31 ` Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).