remove command goes walkies

Chris Mason mason at
Thu Sep 1 12:01:14 CDT 2005

On Thu, 01 Sep 2005 09:39:50 -0700
"Bryan O'Sullivan" <bos at> wrote:

> On Thu, 2005-09-01 at 11:38 -0500, Jordan Breeding wrote:
> > I wouldn't have expected to see the "one: No such file or directory"
> Hmm.  What's happening there is that walk is treating "one" as an
> exact name, and it expects to see the file existing.  This should be
> fixable.

>From mercurial/
       for ff in util.unique(files):
            f = os.path.join(self.root, ff)
                st = os.stat(f)
            except OSError, inst:
                if ff not in dc: self.ui.warn('%s: %s\n' % (
                    util.pathto(self.getcwd(), ff),

You could just drop the warning.  You're seeing it because the
directory isn't in the map.


More information about the Mercurial mailing list