[Python-Dev] End of the mystery "@README.txt Mercurial bug"
Oleg Broytman
phd at phdru.name
Wed Jun 26 12:24:01 CEST 2013
On Tue, Jun 25, 2013 at 10:11:04PM -0400, "Eric V. Smith" <eric at trueblade.com> wrote:
> On 6/25/2013 9:33 PM, Senthil Kumaran wrote:
> >
> >
> >
> > On Tue, Jun 25, 2013 at 5:58 PM, Benjamin Peterson <benjamin at python.org
> > <mailto:benjamin at python.org>> wrote:
> >
> > 2013/6/25 Victor Stinner <victor.stinner at gmail.com
> > <mailto:victor.stinner at 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/ phd at phdru.name
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-Dev
mailing list