[PATCH] Add missing imports for posix.py for OS X

Rocco Rutte pdmef at gmx.net
Fri Mar 27 11:57:45 CDT 2009


# HG changeset patch
# User Rocco Rutte <pdmef at gmx.net>
# Date 1238172978 -3600
# Node ID 2976b7f92ce509c0d972ab83d04b1c0947795661
# Parent  67e59a9886d5902de5b94cd2552d854b6292ec63
Add missing imports for posix.py for OS X

These don't seem to do harm on Linux.

diff --git a/mercurial/posix.py b/mercurial/posix.py
--- a/mercurial/posix.py
+++ b/mercurial/posix.py
@@ -9,7 +9,7 @@ reference.
 """
 
 from i18n import _
-import os, sys, osutil, errno, stat, getpass
+import os, sys, osutil, errno, stat, getpass, pwd, grp
 
 posixfile = file
 nulldev = '/dev/null'


More information about the Mercurial-devel mailing list