Opened 11 years ago
Closed 11 years ago
#510 closed task (fixed)
programs should remove cache for deleted files
Reported by: | Peter Johansson | Owned by: | Peter Johansson |
---|---|---|---|
Priority: | major | Milestone: | svndigest 0.10 |
Component: | core | Version: | trunk |
Keywords: | Cc: |
Description
Two cases:
1) Deleted file
We have FILE
in DIR
DIR/FILE
and its cache file
DIR/.svndigest/FILE.svndigest-cache
If we now svn remove FILE
, svndigest should delete the cache file. If the .svndigest is empty after the removal and added to repo, we should remove directory DIR/.svndigest
as well.
2) Deleted directory
If we instead remove DIR, svn client will take care of removal of DIR/.svndigest/FILE.svndigest-cache
and DIR/.svndigest
. And we have nothing to do.
Same thing, obviously, in svncopyright.
Change History (2)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [1423]) new classes DirectoryUtil? and CacheRemover?. remove obsoleted cache files. closes #510
Note: See
TracTickets for help on using
tickets.
(In [1421]) add test refs #510