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

Bug - Cleanup reports error when there is no cleanup to perform

From: Doug Shields <Doug.Shields_at_albertahealthservices.ca>
Date: Tue, 12 May 2015 12:13:52 -0600

If the working copy contains no unversioned files, running TortoiseSVN->Cleanup using the "Delete unversioned files and folders" will popup the error "Cannot delete file: The file name you specified is not valid or too long. Specify a different file name."
If the working copy contains no ignored files, running TortoiseSVN->Cleanup using "Delete ignored files and folders" will popup the same error.
If both conditions are met the error will popup twice.

To reproduce:
Setup a working copy with one ignored file and one unversioned file.
Use TortoiseSVN -> Cleanup with the "Delete unversioned files and folders" and "Delete ignored files and folders" options.
It works cleanly and pops up the "Cleanup has successfully processed the following paths:" message.
Repeat the cleanup again now that there are no such files.
It pops up the error twice, followed by the success message.

Debug shows it performs an SVN status. Running SVN status manually shows a clean working copy. It appears TortoiseSVN fails to recognize the empty result from the status command.

On WinXP/"TortoiseSVN 1.8.11, Build 26392 - 32 Bit , 2015/03/19 18:50:20 Subversion 1.8.13, -release"


This message and any attached documents are only for the use of the intended recipient(s), are confidential and may contain privileged information. Any unauthorized review, use, retransmission, or other disclosure is strictly prohibited. If you have received this message in error, please notify the sender immediately, and then delete the original message. Thank you.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-05-12 20:45:25 CEST

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