MingMZ / treetrim

Automatically exported from code.google.com/p/treetrim
0 stars 0 forks source link

removeSubversionDirectories fails when read-only files exist in .svn folders and doesn't recurse #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to use the command line to delete the subversion folders from a 
working copy using the -removeSubversionDirectories switch.
2. Exception occurs when a read-only file exists inside the .svn folder

What is the expected output? What do you see instead?

No .svn folders deleted. Exception occurs.

What version of the product are you using? On what operating system?

1.0.1 on Windows 7

Please provide any additional information below.

- The .svn folders were also being ignored because they were hidden
- The folders were also not being recursively traversed by 
GetChildDirectoriesRecursively()
- The .reg file for the explorer extensions does not include the 
removeSubversionDirectories option by default (maybe you don't want that)

A patch file and new reg file is in the attached zip...

Original issue reported on code.google.com by da...@loadoncall.com on 26 Jul 2009 at 9:09

Attachments: