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

Re: How to backup a running script? and how to recoverout-of-sync file?

From: Jack Repenning <jrepenning_at_collab.net>
Date: 2003-07-25 01:12:10 CEST

At 5:00 PM -0500 7/24/03, Cedric Williams wrote:
>Well, that would be a little difficult - the script barfed trying to
>back itself up a couple days ago, and I have been trying to get it
>back "in sync" (as it were :) since then.

Any chance that, on the first time around, you got something like this?

Sending bin\svncracker
Transmitting file data .svn: A problem occurred; see later errors for details
svn: Commit succeeded, but other errors follow:
svn: Problem running log
svn: Error bumping revisions post-commit (details follow):
svn: in directory 'C:/Documents and Settings/Jack Repenning/Desktop/home/bin'
svn: start_handler: error processing command 'committed' in
'C:/Documents and Se
ttings/Jack Repenning/Desktop/home/bin'
svn: error replacing text-base: svncracker
svn: Access is denied.
svn: svn_io_file_rename: can't move 'C:/Documents and Settings/Jack
Repenning/De
sktop/home/bin/svncracker.tmp' to 'C:/Documents and Settings/Jack
Repenning/Desk
top/home/bin/svncracker'
svn: A problem occurred; see later errors for details
svn: Your commit message was left in a temporary file:
svn: 'C:/Documents and Settings/Jack Repenning/Desktop/home/svn-commit.tmp'

This seems to arise because the new file text (in svncracker.tmp)
can't be renamed as the real file name (svncracker), because the
shell still has that open.

When I got that, I did "mv svncracker.tmp svncracker", and "svn up
svncracker". These both worked, the file showed status "MU" (file
text locally modified, file properties updated), and now I have a
file that behaves properly. Why? I don't know ... isn't it enough
that it works? ;-(

Do you have a *.tmp version of your file hanging around? Can you try
the sequence that worked for me?

-- 
-==-
Jack Repenning
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
o: 650.228.2562
c: 408.835-8090
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 25 01:13:03 2003

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.