[PATCH STABLE] scmutil: add missing import of re

Matt Mackall mpm at selenic.com
Tue Jul 12 17:30:07 CDT 2011


On Tue, 2011-07-12 at 17:07 -0500, Steve Borho wrote:
> On Fri, Jul 8, 2011 at 8:27 PM, Steve Borho <steve at borho.org> wrote:
> > # 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'''
> >
> 
> Could someone push this?  I would have already but my Linux box is
> down for the count for another week or so.

Queued, thanks.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list