# HG changeset patch # User Patrick Mezard # Date 1187026972 -7200 # Node ID f4f2baf7dc8a761bab222bb900936cf00518e2ee # Parent ad6b97132b81dfd1789827455a9c68d68113607c 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"