On Tue, Jun 25, 2013 at 10:11:04PM -0400, "Eric V. Smith" <e...@trueblade.com> 
wrote:
> On 6/25/2013 9:33 PM, Senthil Kumaran wrote:
> > 
> > 
> > 
> > On Tue, Jun 25, 2013 at 5:58 PM, Benjamin Peterson <benja...@python.org
> > <mailto:benja...@python.org>> wrote:
> > 
> >     2013/6/25 Victor Stinner <victor.stin...@gmail.com
> >     <mailto:victor.stin...@gmail.com>>:
> >     > And then I ran "make distclean"...
> > 
> >     You've left us hanging...
> > 
> > 
> > Yeah, the final part is here: http://bz.selenic.com/show_bug.cgi?id=3954#c4
> > But still I have question as why hg complained about @README in the
> > first place.
> > Also, I hope make distclean is not working "inside" .hg folder.
> 
> I think that's exactly what's happening.
> 
> >From the bug report:
> 
>       find $(srcdir) '(' -name '*.fdc' -o -name '*~' \
>                          -o -name '[@,#]*' -o -name '*.old' \
>                          -o -name '*.orig' -o -name '*.rej' \
>                          -o -name '*.bak' ')' \
>                          -exec rm -f {} ';'
> 
> Will find files beginning with '@' inside subdirectories of $(srcdir)/.hg.
> 
> Just this week I saw someone use the logical equivalent of:
> 
> find $(srcdir)/* ...
> 
> to avoid this problem. It won't expand the .hg top-level directory.

   Or find \( -type d -name .hg -prune \) -o ...

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            p...@phdru.name
           Programmers don't die, they just GOSUB without RETURN.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to