# HG changeset patch # User Patrick Mezard # Date 1187026972 -7200 # Node ID b51d07ed1b18d2c1b0f6eff31033ca220702b296 # Parent 9374373fb72743030079d79acd529d3738336198 demandimport: ignore pwd and grp. Both are unavailable under Windows and tarfile detects them via ImportError. diff --git a/mercurial/demandimport.py b/mercurial/demandimport.py --- a/mercurial/demandimport.py +++ b/mercurial/demandimport.py @@ -108,7 +108,7 @@ def _demandimport(name, globals=None, lo setattr(mod, x, _demandmod(x, mod.__dict__, locals)) return mod -ignore = ['_hashlib', '_xmlplus', 'fcntl', 'win32com.gen_py'] +ignore = ['_hashlib', '_xmlplus', 'fcntl', 'win32com.gen_py', 'pwd', 'grp'] def enable(): "enable global demand-loading of modules"