hgext/convert/common.py
changeset 26035 86598f4fe1cf
parent 25748 baea47cafe75
child 26587 56b2bcea2529
--- a/hgext/convert/common.py	Sat Aug 15 17:50:59 2015 +0900
+++ b/hgext/convert/common.py	Sat Aug 15 13:44:55 2015 -0700
@@ -82,6 +82,13 @@
     def after(self):
         pass
 
+    def targetfilebelongstosource(self, targetfilename):
+        """Returns true if the given targetfile belongs to the source repo. This
+        is useful when only a subdirectory of the target belongs to the source
+        repo."""
+        # For normal full repo converts, this is always True.
+        return True
+
     def setrevmap(self, revmap):
         """set the map of already-converted revisions"""
         pass