Submitter | phabricator |
---|---|
Date | Sept. 21, 2021, 3:39 p.m. |
Message ID | <differential-rev-PHID-DREV-3z3pum7izrvfdkypdldt-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/49791/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -1225,6 +1225,8 @@ if n == 4: return (vints[0], vints[1], vints[2], extra) + raise error.ProgrammingError(b"invalid version part request: %d" % n) + def cachefunc(func): '''cache the result of function calls'''