[PATCH 1 of 7 STABLE] builddeb: use codename in version

Sean Farley sean at farley.io
Sun May 1 13:52:05 EDT 2016


Yuya Nishihara <yuya at tcha.org> writes:

> On Sun, 01 May 2016 00:12:01 -0700, Sean Farley wrote:
>> # HG changeset patch
>> # User Sean Farley <sean at farley.io>
>> # Date 1462042305 25200
>> #      Sat Apr 30 11:51:45 2016 -0700
>> # Branch stable
>> # Node ID 8989df4c49c34a88be3569f1e0e82a06c6b9a39b
>> # Parent  cbf282da720ac907b492a2b1045288130d6d166e
>> # EXP-Topic docker-ppa
>> builddeb: use codename in version
>> 
>> Apparently, this is needed to allow ppas to be built for multiple distros.
>> 
>> diff --git a/contrib/builddeb b/contrib/builddeb
>> --- a/contrib/builddeb
>> +++ b/contrib/builddeb
>> @@ -55,11 +55,11 @@ gethgversion
>>  debver="$version"
>>  if [ -n "$type" ] ; then
>>      debver="$debver~$type"
>>  fi
>>  if [ -n "$distance" ] ; then
>> -    debver="$debver+$distance-$node"
>> +    debver="$debver+$distance-$CODENAME-$node"
>
> I don't know how ppa versions work, but appending arbitrary text after
> number should be okay.

Do you mean that you agree with what this patch does or something else?


More information about the Mercurial-devel mailing list