[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: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Sun, 14 Sep 2008 23:40:40 +0100

2008/9/14 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?

Certainly not a setting in TSVN. Where would be the sense in that?
Please can you try to reproduce this with the Subversion command line
client.

Do you have any shortcuts or links in your project which might cause this?

Simon

-- 
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
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 00:40:48 CEST

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