Opened 10 years ago
Closed 9 years ago
#525 closed defect (fixed)
svncopyright removes directory '.svndigest' under subversion control
Reported by: | Peter Johansson | Owned by: | Peter Johansson |
---|---|---|---|
Priority: | minor | Milestone: | svndigest 0.10.1 |
Component: | core | Version: | 0.10 |
Keywords: | Cc: |
Description
I have a wc with a .svndigest directory which is empty, but the directory is committed to repo. After running svncopyright I found that the directory had been removed. Not a big problem but a bit surprising and clearly unwanted behaviour.
This is with svndigest 0.10.1pre (r1525...
I suspect svndigest has the same problem, and I think it's related to the code that cleans up cache files not needed any more, i.e., when a file is removed from repo the corresponding cache file is removed by svn[digest|copyright]. Without looking in the code, I suspect the code also removes empty directories named .svndigest, which is typically a good idea BUT not when they are committed.
(In [1561]) fixes #525