Mercurial > hg
diff mercurial/util.py @ 3853:c0b449154a90
switch to the .hg/store layout, fix the tests
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 01 Dec 2006 13:34:09 +0100 |
parents | 8a9a1a7e1698 |
children | 4f6db0233606 |
line wrap: on
line diff
--- a/mercurial/util.py Sun Dec 10 00:07:02 2006 +0100 +++ b/mercurial/util.py Fri Dec 01 13:34:09 2006 +0100 @@ -897,6 +897,10 @@ encodefilename, decodefilename = _buildencodefun() +def encodedopener(openerfn, fn): + def o(path, *args, **kw): + return openerfn(fn(path), *args, **kw) + return o def opener(base, audit=True): """