[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Can't commit both x and y, as they both refer to the same URL

From: derefed <spam_at_ultimatejourney.net>
Date: Sun, 14 Sep 2008 16:58:28 -0700 (PDT)

Milen A. Radev-2 wrote:
> 2008/9/15 derefed <spam_at_ultimatejourney.net>:
>> I'm trying to set up a repository for my Java project which has the
>> following
>> directory structure:
>> Project
>> -bin
>> -doc
>> -src
>> Where the "bin" subdir has the same subdir structure as "src", only the
>> files are the compiled versions. When creating a fresh repository and
>> adding
>> everything in Project and then committing everything, I get an error like
>> "Can't commit both file x and file y, as they both refer to the same
>> URL",
>> and it's always a file of the same name (save the extension), one from
>> "bin"
>> and one from "src".
>> After searching the web a bit, I found that the usual cause of this is
>> when
>> someone copies an SVN directory manually without using "svn copy". This
>> isn't the case here, as this is a fresh repository committal. I also
>> found
>> that running "svn info" on the directories in question can give more
>> info.
>> After trying this, it would appear that both Project/bin and Project/src
>> DO
>> point to the same URL on the SVN server, Project/src. I never set it up
>> this
>> way, however. Even when I make a new rep to try it all over again and add
>> them separately, the URLs eventually end up pointing back to the same
>> thing
>> again between when I add and commit the files.
>> Could this be a setting in TortoiseSVN that's overriding basic SVN
>> behavior?
>> How can I disable it? Also, how can I change those URLs now so that they
>> point to the right places, i.e., Project/bin -> Project/bin and
>> Project/src
>> -> Project/src?
> Most probably the build tool you use copies everything unknown to it
> from the src directory to the bin one. And that includes the ".svn"
> subdirectory.
> Check the build tool's settings.
> --
> Milen A. Radev

Sounds plausible... however, all this repository setup / commital was done
after compilation and so forth, so the build tool had already done its work
before the .svn subdirectories had even been created.

View this message in context: http://www.nabble.com/Can%27t-commit-both-x-and-y%2C-as-they-both-refer-to-the-same-URL-tp19485030p19485620.html
Sent from the tortoisesvn - users mailing list archive at Nabble.com.
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-09-15 01:58:36 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.