1.2 rc-1. "svn up" <locked file edited by another user> -- reports errors and does not delete tmp files
From: Moisei <moisei_at_gmail.com>
Date: 2005-04-18 14:22:15 CEST
Hello dear all,
my exactly environment:
svn precompiled binaries from
here is the sample output that I got from the script
-- Best Regards, Moisei the batch file to reproduce (edit the test dir location, otherwise c:\temp\reproduce is used) ------------------------------------------------------------------------------------------------------------- @echo off REM CHANGE TO THE TEMP FOLDER WHERE TEST WILL BE RUN REM NOTE the slashes must be a "UNIX" slashes set tstDir=c:/temp/reproduce REM NO NEED TO CHANGE ANYTHING BELOW rem prepare test rmdir /S /Q "%tstDir%" mkdir "%tstDir%" > nul rem prepare repo mkdir "%tstDir%\repo" > nul svnadmin create "%tstDir%\repo\tst" rem prepare wc and add 1 file set wc=%tstDir%\wc mkdir "%wc%" > nul svn checkout "file:///%tstDir%/repo/tst" "%wc%" set foo=%wc%/foo.txt echo blabla > "%foo%" svn add "%foo%" > nul svn propset svn:needs-lock true "%foo%" svn commit "%foo%" -m "commit file" set wc1=%wc%1 mkdir "%wc1%" svn checkout "file:///%tstDir%/repo/tst" "%wc1%" svn lock "%foo%" -m "take a lock" echo klakla >> "%foo%" svn commit "%foo%" -m "edited after lock" rem now the bug: set foo1=%wc1%/foo.txt echo **************************************** echo PREPARATION IS DONE. NOW THE ISSUE DEMONSTRATION echo the %foo1% should be updated in the %wc1% because it has been edited in the %wc% echo after update the file *IS* updated echo BUT errors are reported and temporary files are present int he working copy echo before update %wc1% contains dir /B "%wc1%" svn update "%wc1%" echo after update %wc1% contains dir /B "%wc1%"
---------------------------------------------------------------------
|
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.