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

Break your working copy in 3 easy steps

From: <CodeBase_at_web.de>
Date: 2007-02-18 22:59:01 CET

Hi all,

Assume there are 2 files in the repository which should always be committed together, such as an OpenOffice document and the PDF exported from it:

/root/oo.org/mydoc.odt
/root/pdf/mydoc.pdf

Assume there are pending changes in the doc (exported to the PDF) worth committing.

C:\> svn commit --message "some reasonable message" "C:\SVNWC\oo.org\mydoc.odt" "C:\SVNWC\pdf\mydoc.pdf"
--> OK

Now create more changes and export them again. Repeat the step above.

--> Modified: ...\mydoc.pdf
Error: Commit failed (details follow):
Error: Your file or directory ...\mydoc.pdf' is probably out-of-date
Error: 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).

I read on the list about deleting wcprops files, but as I can't find any file of that name, the only way to get around the problem is to copy the changed file, remove the .svn folder and check it all out from scratch, then copy the changed file, again.

Most recent SVN running on most recent Windows XP SP2
Subversion 1.4.3,
apr 0.9.12
apr-iconv 0.9.7
apr-utils 0.9.12
berkeley db 4.4.20
neon 0.26.3
OpenSSL 0.9.8d 28 Sep 2006
zlib 1.2.3

I did try to update the files before committing, same result.
I thought at first the problem is related to TortoiseSVN, but the same problem occurs no matter if I use TSVN or the command line.

What am I doing wrong ?

CU C>

_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 18 22:59:23 2007

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.