[PATCH STABLE] scmutil: add missing import of re
Steve Borho
steve at borho.org
Sat Jul 9 01:27:53 UTC 2011
# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1310174659 18000
# Branch stable
# Node ID f736ce9be7bd5176fa21463da36adca0e1b3e9b5
# Parent e9264b45237d94ca0953daac9333444bfa40ce5c
scmutil: add missing import of re
see https://bitbucket.org/tortoisehg/thg/issue/929
diff -r e9264b45237d -r f736ce9be7bd mercurial/scmutil.py
--- a/mercurial/scmutil.py Wed Jul 06 13:43:29 2011 -0500
+++ b/mercurial/scmutil.py Fri Jul 08 20:24:19 2011 -0500
@@ -8,7 +8,7 @@
from i18n import _
import util, error, osutil, revset, similar
import match as matchmod
-import os, errno, stat, sys, glob
+import os, errno, re, stat, sys, glob
def checkfilename(f):
'''Check that the filename f is an acceptable filename for a tracked file'''
More information about the Mercurial-devel
mailing list