[PATCH] - perform hg id instead of hg tip
Vadim Lebedev
vadim at mbdsys.com
Tue Apr 15 15:07:10 CEST 2008
Le 15 avr. 08 à 13:10, Darshaka Pathirana a écrit :
> On 15.04.2008 13:04, Darshaka Pathirana wrote:
>> diff -r d242af548735 -r a08d09f7caa9 owbuild/owbuild/
>> OWGetMercurialRevision.cmake
>> --- a/owbuild/owbuild/OWGetMercurialRevision.cmake Tue Apr 08
>> 14:12:05 2008 +0200
>> +++ b/owbuild/owbuild/OWGetMercurialRevision.cmake Fri Apr 11
>> 21:50:35 2008 +0200
>
> After trying to build some older revisions I noticed that the
> version-string always shows the "hg tip"-revision.
>
> I updated the code (with some modifications from Ralf Schlatterbeck,
> thx!) so the current revision is shown (svn-status behavior).
>
> Any objections?
>
Darshaka,
First your patch does not not apply on my Mac and probably will not
apply on Linux too --- i suspect EOL issue.
Second,
it can be MUCH simplier by replacing origonal 'hg tip --
template ....' by: 'hg id -i'
so the regex-replace is not needed
Vadim
> Greetings,
> - Darsha
>
> _______________________________________________
> QuteCom-dev mailing list
> QuteCom-dev at lists.qutecom.org
> http://lists.qutecom.org/mailman/listinfo/qutecom-dev
>
More information about the QuteCom-dev
mailing list