Moved files ('svn mv') where not handled properly. The move target
would be correctly added to the taglist, the move source, however,
wouldn't be removed from the taglist.
Signed-off-by: Christoph Trassl <christoph@trassl.net>
Signed-off-by: Giel van Schijndel <me@mortis.eu>
import posixpath
import cPickle as pickle
from fnmatch import fnmatch
-from trac.versioncontrol.api import Node
+from trac.versioncontrol.api import Changeset, Node
from trac.util.text import to_unicode
try:
folder = posixpath.dirname(path)
if not self.is_path_valid(folder):
continue
-
+ if change == Changeset.MOVE:
+ changes.add(base_path)
for rule in self.scan_files:
if fnmatch(path, rule):
changes.add(path)