Mercurial > public > mercurial-scm > hg
diff hgext/record.py @ 12266:00658492e2aa
patch: break import cycle with cmdutil
The patch module imported cmdutil but used it only in updatedir.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Mon, 13 Sep 2010 13:08:09 +0200 |
parents | 226a328a7ff3 |
children | aa2fe1f52ff4 |
line wrap: on
line diff
--- a/hgext/record.py Sun Sep 12 16:10:41 2010 +0900 +++ b/hgext/record.py Mon Sep 13 13:08:09 2010 +0200 @@ -497,7 +497,7 @@ pfiles = {} patch.internalpatch(fp, ui, 1, repo.root, files=pfiles, eolmode=None) - patch.updatedir(ui, repo, pfiles) + cmdutil.updatedir(ui, repo, pfiles) except patch.PatchError, err: s = str(err) if s: