hg add --include not recursive on windows?

Kevin Greiner greinerk at gmail.com
Tue Apr 1 13:35:55 CDT 2008


Yes, that works. Thanks. I've never seen anything like it
before...interesting.

On Tue, Apr 1, 2008 at 11:19 AM, Peter Arrenbrecht <
peter.arrenbrecht at gmail.com> wrote:

> Use `hg add --include **.txt .` as * does not match \ or /, while ** does.
> -peo
>
> On Tue, Apr 1, 2008 at 3:46 PM, Kevin Greiner <greinerk at gmail.com> wrote:
> > It appears that "hg add --include" isn't recursive on windows?
> >
> > hg --version
> >  Mercurial Distributed SCM (version 9f1e6ab76069+tortoisehg)
> >
> > hg init
> > echo a  1>a1.txt
> > echo a  1>a2
> > mkdir b
> > echo b  1>b\b1.txt
> > echo b  1>b\b2
> > hg add --include *.txt .
> > adding a1.txt
> >
> > I would have expected b\b1.txt to be added as well.
> >
> >
> > _______________________________________________
> >  Mercurial mailing list
> >  Mercurial at selenic.com
> >  http://selenic.com/mailman/listinfo/mercurial
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080401/1abbfed6/attachment.htm 


More information about the Mercurial mailing list