mercurial/manifest.py
changeset 25119 49c583ca48c4
parent 25091 b5052fc73300
child 25151 6eb4bdad198f
--- a/mercurial/manifest.py	Sun May 10 06:48:08 2015 -0700
+++ b/mercurial/manifest.py	Sun Apr 12 23:51:06 2015 -0700
@@ -815,6 +815,8 @@
         indexfile = "00manifest.i"
         if dir:
             assert self._treeondisk
+            if not dir.endswith('/'):
+                dir = dir + '/'
             indexfile = "meta/" + dir + "00manifest.i"
         revlog.revlog.__init__(self, opener, indexfile)
         self._dir = dir