mercurial/manifest.py
changeset 37270 6ff8bd691fb8
parent 36373 0147a4730420
child 37372 1b2fa531fd7a
equal deleted inserted replaced
37269:14cd5290c4e6 37270:6ff8bd691fb8
  1158 
  1158 
  1159         self._fulltextcache = util.lrucachedict(cachesize)
  1159         self._fulltextcache = util.lrucachedict(cachesize)
  1160 
  1160 
  1161         if dir:
  1161         if dir:
  1162             assert self._treeondisk, 'opts is %r' % opts
  1162             assert self._treeondisk, 'opts is %r' % opts
  1163             if not dir.endswith('/'):
       
  1164                 dir = dir + '/'
       
  1165 
  1163 
  1166         if indexfile is None:
  1164         if indexfile is None:
  1167             indexfile = '00manifest.i'
  1165             indexfile = '00manifest.i'
  1168             if dir:
  1166             if dir:
  1169                 indexfile = "meta/" + dir + indexfile
  1167                 indexfile = "meta/" + dir + indexfile