hg add --include not recursive on windows?

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Tue Apr 1 15:19:31 UTC 2008


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
>
>



More information about the Mercurial mailing list