You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Troy Curtis Jr <tr...@gmail.com> on 2007/03/07 05:19:46 UTC

Commit targets from a file -- Non-Atomic?

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?

Thanks,
Troy
-- 
"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/)