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

Curious bug/feature regarding "Ignore files which are already versioned"

From: Schor, Robert H <Robert_Schor_at_URMC.Rochester.edu>
Date: Sat, 27 Sep 2008 13:50:33 -0400

Dear TSVN Developers,
     I belatedly discovered I was versioning a machine-specific
configuration file that was custom-built on each machine when I opened
the editor -- needless to say, it often caused conflicts. I read your
very clear documentation on not only how to add this file type to the
"ignore" list, but how to remove the old files as well (Appendix B8).
     I did the following: shift-right-click on the "offending" file,
choose "Delete (keep local)" from the TSVN menu, then commit the
project. I then right-clicked the file again, opened the TSVN menu, and
chose "Add to ignore list" (choosing to add all files of that type).
     However, when I then go to Commit, I get a curious error message:
"Commit failed (details follow). File or directory '.' is out of date;
try updating. The version resource does not correspond to the resource
within the transaction. Either the requested version resource is out of
data (needs to be updated) or the requested version resource is newer
than the transaction root (restart the commit)." Doing another Commit
returns the same error. Doing an Update gives a simple "Completed at
revision XXX" message, without appearing to do anything (no files or
folders are mentioned), but now doing the Commit works (shows the parent
Folder as Modified)!
 
     This is clearly not a serious "bug", more a confusion. It is not
clear why a Commit, an "add-to-ignore", and a second Commit would fail,
but a Commit, "add-to-ignore", Update, Commit would work (the required
Update seems counter-intuitive).
 
     In the course of preparing this brief Bug Report, I tried doing
these steps again on another folder, just to confirm that the process
behaves as I documented above (it does!).
 
     I am running Windows XP Pro, SP3. Here is the TSVN version info:
 
TortoiseSVN 1.5.3, Build 13783 - 32 Bit , 2008/08/30 20:59:46
Subversion 1.5.2,
apr 1.2.12
apr-utils 1.2.12
berkeley db 4.4.20
neon 0.28.3
OpenSSL 0.9.8g 19 Oct 2007
zlib 1.2.3
 
     Please reply to my e-mail address. I am happy to provide
additional information or assist in any way.
 
Bob Schor
Received on 2008-09-27 19:58:17 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.