Mercurial > public > mercurial-scm > hg-stable
diff mercurial/manifest.py @ 25119:49c583ca48c4
treemanifest: add --dir option to debug{revlog,data,index}
It should be possible to debug the submanifest revlogs without having
to know where they are stored (in .hg/store/meta/), so let's add a
--dir option for this purpose.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sun, 12 Apr 2015 23:51:06 -0700 |
parents | b5052fc73300 |
children | 6eb4bdad198f |
line wrap: on
line diff
--- 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