Mercurial > hg > hg-git
changeset 779:503d0b871a7c
hgrepo: import mercurial.util as hgutil
An upcoming patch will import hg-git's util. This particular pattern is
followed throughout the hg-git codebase.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Mon, 13 Oct 2014 16:26:23 -0700 |
parents | 765e80bb09f5 |
children | a951b04338e1 |
files | hggit/hgrepo.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hggit/hgrepo.py +++ b/hggit/hgrepo.py @@ -1,7 +1,7 @@ import os from mercurial.node import bin -from mercurial import util +from mercurial import util as hgutil from git_handler import GitHandler from gitrepo import gitrepo @@ -53,7 +53,7 @@ tags.update(self.githandler.remote_refs) return (tags, tagtypes) - @util.propertycache + @hgutil.propertycache def githandler(self): '''get the GitHandler for an hg repo