wcprops files getting out of date.
From: Vianney <vianney_at_conversagent.com>
Date: 2004-06-26 00:57:04 CEST
Hello,
I'm consistently getting the out-of-date error when I commit some of the files in my WC directory:
$./svn commit ../Projects/CorpInfo/Articles/General/CatBackground.ddl -m "pipo"
Restarting the commit, or updating the working copy won't help. After some research, I've narrowed the apparent source of the problem to the svn-work files located in .svn/wcprops/ :
$ ll ../Projects/CorpInfo/Articles/General/.svn/wcprops/
$ cat ../Projects/CorpInfo/Articles/General/.svn/wcprops/CatBackground.ddl.svn-work
It appears that this 'cache' file, once created, is never updated unless I commit changes outside and update my working copy. So after the first commit the version number of the checked in file and the version number appearing in the URL of the svn-work file, are out of sync. Deleting the file allows to work around the issue and force a commit, but not solve the problem. Another way to work around it is to change the 113 in the URL to the current version of the file, but that too is just temporary. Moreover, at that first commit (with no file in wcprops/), I may be commiting revision 118 and still get 113 in the newly created svn-work file.
So I'd like to know more about what the files in wcprops/ are supposed to be made of and when they're supposed to change; if such an issue has already been documented and/or addressed? And considering I never touched the metadata files until the problem showed up, what may have caused the corruption and what I should do to prevent it from happening again?
I'm using subversion v1.0.4, on Redhat 9.
Thanks!
|
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.