mercurial/manifest.py
changeset 24324 149cc171e4a0
parent 24322 f263814c72ac
child 24350 7002ad149f30
--- a/mercurial/manifest.py	Fri Mar 13 15:23:02 2015 -0700
+++ b/mercurial/manifest.py	Fri Mar 13 15:25:01 2015 -0700
@@ -155,6 +155,9 @@
     def dirs(self):
         return self._dirs
 
+    def hasdir(self, dir):
+        return dir in self._dirs
+
     def matches(self, match):
         '''generate a new manifest filtered by the match argument'''
         if match.always():