You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Numa Schmeder <nu...@euroconsumers.com> on 2004/09/23 09:30:39 UTC

BIG BUG: Same file being in two different location in repository, svn thinks they have same URL

Hello,
I have subversion 1.0.6 under macosX using fink.
I have the corresponding bug:
I have a set of text files (java properties files) in a directory, 
let's say in XX/YY/ZZ/test.properties
My entire java project is commited to the repository including source 
and comiled files (it's a web application)
When compiling my source files are compiled, and the result is moved to 
a directory. The same aplies to the text files (but they are not 
compiled just moved), let's say in
XX/AA/BB/test.properties
The problem is the following when i try to do a commit i have the 
following error:
the file XX/YY/ZZ/test.properties and the file XX/AA/BB/test.properties 
references the same URL.
Subversion those two files are the same and doesn't allow me to commit, 
actually the files are the same they are just in 2 different location.

I have made some tests:
I went to the directory XX/YY/ZZ/ and made a svn commit that happen to 
have no problem.
Then i went to the directory XX/AA/BB and also made a commit, but this 
didn't work and give me the following error:

NumX:/Volumes/Mac OS Data/Developpement/Java/workspace/console 
nschmede$ svn commit -m "updated"
Sending        console/context/WEB-INF/console.application
Sending        
console/context/WEB-INF/classes/com/ec/db/hibernate/Amenity.hbm.xml
svn: Commit failed (details follow):
svn: Your file or directory 'src/com/ec/db/hibernate/Amenity.hbm.xml' 
is probably out-of-date
svn:
The version resource does not correspond to the resource within the 
transaction.  Either the requested version resource is out of date 
(needs to be updated), or the requested version resource is newer than 
the transaction root (restart the commit).


As you can see, svn is mistaking the two files.

I would appreciate a recommendation

Thanks for your great work!!

Kind Regards

Numa


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: BIG BUG: Same file being in two different location in repository, svn thinks they have same URL

Posted by Toby Johnson <to...@etjohnson.us>.
Numa Schmeder wrote:

> Hello,
> I have subversion 1.0.6 under macosX using fink.
> I have the corresponding bug:
> I have a set of text files (java properties files) in a directory, 
> let's say in XX/YY/ZZ/test.properties
> My entire java project is commited to the repository including source 
> and comiled files (it's a web application)
> When compiling my source files are compiled, and the result is moved 
> to a directory. The same aplies to the text files (but they are not 
> compiled just moved), let's say in
> XX/AA/BB/test.properties
> The problem is the following when i try to do a commit i have the 
> following error:
> the file XX/YY/ZZ/test.properties and the file 
> XX/AA/BB/test.properties references the same URL.
> Subversion those two files are the same and doesn't allow me to 
> commit, actually the files are the same they are just in 2 different 
> location.

It would appear that something in your build process is messing with the 
.svn directories. Don't do that.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org