Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.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 | d1d69ca78883 |
children | 3f0744eeaeaf |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sun May 10 06:48:08 2015 -0700 +++ b/mercurial/localrepo.py Sun Apr 12 23:51:06 2015 -0700 @@ -460,6 +460,9 @@ def manifest(self): return manifest.manifest(self.svfs) + def dirlog(self, dir): + return manifest.manifest(self.svfs, dir) + @repofilecache('dirstate') def dirstate(self): warned = [0]