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

Commit targets from a file -- Non-Atomic?

From: Troy Curtis Jr <troycurtisjr_at_gmail.com>
Date: 2007-03-07 06:19:46 CET

I haven't had a chance to fully investigate this but two of my users have
had commits fail (out-of-date error) with the result being an apparent
partial commit. I have a wrapper script that allows the user to delete
unwanted files directly from the log message. When the editor exists I
parse the log file and put all the filepaths in a tmp file which I then call
using the --targets option.

I have already confirmed that the commit failed with an out-of-date and that
the files up to the failure were no longer listed in the status of the
working copy. One thought I had was that some of the meta-data in the
working copy got updated a little early so it is no longer showing up in
status or subsequent checkin attempts. I haven't actually confirmed that
the changes made it into the repository.

Basically, does anyone have any pointers as to what I should look for
tomorrow when I investigate this?


"Beware of spyware. If you can, use the Firefox browser." - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)
Received on Wed Mar 7 06:20:20 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.