[Python-Dev] End of the mystery "@README.txt Mercurial bug"

Eric V. Smith eric at trueblade.com
Wed Jun 26 04:11:04 CEST 2013

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.


More information about the Python-Dev mailing list