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

RE: Merge problem

From: Reedick, Andrew <Andrew.Reedick_at_BellSouth.com>
Date: 2006-10-05 17:11:40 CEST

> -----Original Message-----
> From: Thorsten Gecks [mailto:Thorsten.Gecks@uni-bayreuth.de]
> Sent: Thursday, October 05, 2006 10:51 AM
> To: users@subversion.tigris.org
> Subject: Merge problem
>
> I am using svn version 1.3.0 (r17949) here and I have the following
> phenomenon, that I don't understand. Is it a bug or a feature:
>
> 1) Made a branch of an existing tree(trunk) with svn copy
> 2) in trunk: deleted file TestFile and committed
> 3) in trunk: created link with the same name, added and committed
> 4) tried to merge both modifications into branch with a single merge
> command, succeded with
>
> D TestFile
> A TestFile
>
> as output.
>
> 5) Then I tried to commit these changes and got the following
> error message:
>
> Replacing TestFile
> svn: Commit failed (details follow):
> svn: Veraltet: '/tmp/test/TestFile' in Transaktion '792-1'
>
> Sorry, that the last message is german, but setting the
> LANG variable
> to en_GB didn't help, maybe this translation helps:
> (svn: Too old: '/tmp/test/TestFile' in transaction '792-1')
>
>

That looks like a bug that was supposedly fixed in 1.4.0. If you delete
and add a file, the commit will fail. I've occassionally had this
problem when doing merges using 1.3.x.

The commit still fails if you revert the file. The workaround I used
was to commit every file but the R's.
1. run 'svn status' and save the output to a file (status.log).
2. Save status.log somewhere safe.
3. Copy status.log to a new name (filelist.txt). (Keep status.log for
step 6.)
4. Delete any lines in filelist.txt with a status of 'R' (or '?').
Remove the status codes so you have just filenames remaining.
5. svn commit -m "..." --targets filelist.txt
6. Create a new workspace and 'merge' the 'R' files manually (don't use
'svn merge'). Refer to status.log for the 'R' files.

Or use a 1.4.0 client to do the merge.

*****

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA622

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 5 17:13:03 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.