[PATCH 2 of 3] posix: delete unused expand_glob

Adrian Buehlmann adrian at cadifra.com
Sun May 8 14:24:59 CDT 2011


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1304880148 -7200
# Node ID 3b7935607085ddbf9d3e093caf228cac098c6304
# Parent  b4035b61f030f8dec82f6a7b03593e76b1cbd9a0
posix: delete unused expand_glob

diff --git a/mercurial/posix.py b/mercurial/posix.py
--- a/mercurial/posix.py
+++ b/mercurial/posix.py
@@ -263,10 +263,6 @@
     '''return name of current user'''
     return getpass.getuser()
 
-def expand_glob(pats):
-    '''On Windows, expand the implicit globs in a list of patterns'''
-    return list(pats)
-
 def username(uid=None):
     """Return the name of the user with the given uid.
 


More information about the Mercurial-devel mailing list