[PATCH] util: make ensuredirs safer against races

Matt Mackall mpm at selenic.com
Wed Feb 13 14:03:33 CST 2013


On Wed, 2013-02-13 at 11:34 -0800, Bryan O'Sullivan wrote:
> On Wed, Feb 13, 2013 at 11:32 AM, Kevin Bullock <
> kbullock+mercurial at ringworld.org> wrote:
> 
> > Is stat actually needed? I don't see it used below.
> >
> 
> Good catch.

The test suite will catch unused imports if you have pyflakes installed.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list