comparison hgext/convert/subversion.py @ 6540:55bd855fc0af

convert: improve subversion branch filtering
author Patrick Mezard <pmezard@gmail.com>
date Mon, 14 Apr 2008 22:31:33 +0200
parents 7814d7bb77bc
children 009f69a5e251
comparison
equal deleted inserted replaced
6539:7814d7bb77bc 6540:55bd855fc0af
742 self.ui.debug("No copyfrom path, don't know what to do.\n") 742 self.ui.debug("No copyfrom path, don't know what to do.\n")
743 743
744 paths = [] 744 paths = []
745 # filter out unrelated paths 745 # filter out unrelated paths
746 for path, ent in orig_paths: 746 for path, ent in orig_paths:
747 if not path.startswith(self.module): 747 if self.getrelpath(path) is None:
748 self.ui.debug("boring@%s: %s\n" % (revnum, path))
749 continue 748 continue
750 paths.append((path, ent)) 749 paths.append((path, ent))
751 750
752 # Example SVN datetime. Includes microseconds. 751 # Example SVN datetime. Includes microseconds.
753 # ISO-8601 conformant 752 # ISO-8601 conformant