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:


Two cases:

1) Deleted file

We have FILE in DIR


and its cache file


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 Peter Johansson

(In [1421]) add test refs #510

comment:2 Changed 11 years ago by Peter Johansson

Resolution: fixed
Status: newclosed

(In [1423]) new classes DirectoryUtil? and CacheRemover?. remove obsoleted cache files. closes #510

Note: See TracTickets for help on using tickets.