* On 17 Sep 2010, Christian Ebert wrote:
>
> Almost there. version.sh needs to have the executable bit set
> here. hg can provide this information if you pass the --git
> option to the respective command (hg export --git etc.).
It does have +x here. :)
I don't have --git set in .hgrc for the sa
* David Champion on Thursday, September 16, 2010 at 22:31:18 -0500
> * On 16 Sep 2010, Christian Ebert wrote:
>>
>> This doesn't apply on case-insensitive filesystems - I'm using
>> the default HFS+ on MacOS X, which is indeed case-insensitive.
>>
>> So, no precise version header in this mail ye
* On 16 Sep 2010, Christian Ebert wrote:
>
> This doesn't apply on case-insensitive filesystems - I'm using
> the default HFS+ on MacOS X, which is indeed case-insensitive.
>
> So, no precise version header in this mail yet ;-)
Good point... wretched filesystem. I use a Mac too (but Solaris fo
* David Champion on Thursday, September 16, 2010 at 18:11:44 -0500
> Take 2. Includes Moritz Barsnick's changes and simulates {latesttag}
> when running in a Mercurial release that does not have it, per Christian
> Ebert.
>
>
> # HG changeset patch
> # User David Champion
> # Date 1284678222 18
* On 16 Sep 2010, Christian Ebert wrote:
> > +hg parents --template='{latesttag} {latesttagdistance} {node|short}\n' |
> > while read tag dist node; do
>
> You are aware that the latesttag and latesttagdistance keywords
> are only available since Mercurial 1.4?
Thanks, I had forgotten it was so
Creative nit-pick mood. :-)
> +[ -d .hg ] || { cat VERSION; exit 0; }
> +hg >/dev/null 2>&1 || { cat VERSION; exit 0; }
{ [ -d .hg ] && hg >/dev/null 2>&1 } || { cat VERSION; exit 0; }
BTW, I think it's cool, if and when it works.
Moritz
* David Champion on Wednesday, September 15, 2010 at 23:46:04 -0500
> # HG changeset patch
> # User David Champion
> # Date 1284612294 18000
> # Branch HEAD
> # Node ID 1c6c5a4e168219a6e26ba6143cabe9f7564dfcac
> # Parent 59aad6c21703484a9a298536efd4d971039d0a61
> Include extra information in mutt