Mercurial > public > mercurial-scm > hg-stable
diff mercurial/subrepo.py @ 13972:d1f4e7fd970a
move path_auditor from util to scmutil
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Wed, 20 Apr 2011 22:43:31 +0200 |
parents | 518344d02761 |
children | bcc6ed0f6c3b |
line wrap: on
line diff
--- a/mercurial/subrepo.py Wed Apr 20 21:41:41 2011 +0200 +++ b/mercurial/subrepo.py Wed Apr 20 22:43:31 2011 +0200 @@ -8,7 +8,7 @@ import errno, os, re, xml.dom.minidom, shutil, posixpath import stat, subprocess, tarfile from i18n import _ -import config, util, node, error, cmdutil, url, bookmarks +import config, scmutil, util, node, error, cmdutil, url, bookmarks hg = None nullstate = ('', '', 'empty') @@ -234,7 +234,7 @@ import hg as h hg = h - util.path_auditor(ctx._repo.root)(path) + scmutil.path_auditor(ctx._repo.root)(path) state = ctx.substate.get(path, nullstate) if state[2] not in types: raise util.Abort(_('unknown subrepo type %s') % state[2])