[PATCH] Add contrib/buildrpm script

Radoslaw Szkodzinski astralstorm at gorzow.mm.pl
Fri Jul 1 13:14:36 CDT 2005


Bryan O'Sullivan wrote:
> On Fri, 2005-07-01 at 19:45 +0200, Radoslaw Szkodzinski wrote:
> 
> 
>>[ MISSING ATTACHEMENT ]
> 
> 
> It's not missing.  Your mail filter may have nuked it, or something.
> 
> http://www.selenic.com/pipermail/mercurial/2005-July/001770.html
> 

What the...
First, I got really scared because I have really installed a new mail filter.
But then I triple-checked.

*I hereby put all blame on thunderbird for not displaying attachments of MIME 
type application/x-shellscript just like any other text/plain or text/x-diff.*
And next on myself for not looking closely enough on Attachments field.

#####

The script looks good to my eyes, except this:
	root="`hg root 2>/dev/null`"
	specfile=contrib/mercurial.spec
	
	if [ -z "$root" ]; then
	    echo 'You are not inside a Mercurial repository!' 1>&2
	    exit 1
	fi

hg root 2>/dev/null on some dir without a repository gives:
abort: no repo found!

Someone is probably using ui.write instead of ui.warn.

AstralStorm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://www.selenic.com/pipermail/mercurial/attachments/20050701/13ee7152/signature.pgp


More information about the Mercurial mailing list