[ANN] TortoiseHg 0.9.1 released
Adrian Buehlmann
adrian at cadifra.com
Wed Dec 2 09:17:32 CST 2009
On 02.12.2009 15:42, Adrian Buehlmann wrote:
> On 02.12.2009 07:02, Steve Borho wrote:
>> TortoiseHg 0.9.1 is a minor bugfix and "polish" release. Users with
>> 0.9 are recommended to upgrade.
>>
>> http://bitbucket.org/tortoisehg/stable/wiki/ReleaseNotes
>>
>> The Windows installer for TortoiseHG 0.9.1 includes Mercurial 1.4.1
>>
>> Warning: over the weekend we discovered the nightly build packages
>> have begun popping up an error window when you install them. This new
>> 0.9.1 installer also exhibits this behavior. Do not be surprised if
>> you see a dialog box open up while files are being copied into place.
>> The dialog text will be:
>>
>> Internal error: Expression error 'Runtime Error (at 1:229):
>> Internal error: Unknown constant "1"
>>
>
> Offhand I would say this might be caused by your
>
> http://bitbucket.org/tortoisehg/stable/changeset/b28a3b3dc018/
>
> which did
>
> diff --git a/contrib/win32/mercurial.ini b/contrib/win32/mercurial.ini
> --- a/contrib/win32/mercurial.ini
> +++ b/contrib/win32/mercurial.ini
> @@ -99,6 +99,7 @@ extdiff =
> ; Extra extensions bundled with TortoiseHg
> ;fold =
> ;hgcr-gui =
> +;schemes =
>
> ; To use cleverencode/cleverdecode, you must enable win32text extension
> ;
> @@ -195,3 +196,11 @@ opts.vdiff = $parent1 $child $parent2
>
> [keywordmaps]
> ; See documentation for examples
> +
> +; The schemes extension must be enabled to use one of these shortcuts.
> +; See http://mercurial.selenic.com/wiki/SchemesExtension
> +[schemes]
> +;bb = http://bitbucket.org/
> +;bb+ssh = ssh://hg@bitbucket.org/
> +;gcode = http://{1}.googlecode.com/hg/
> +;py = http://code.python.org/hg/
>
>
> on line 26 you have
>
> ssh = "{app}\TortoisePlink.exe" -ssh -2
>
>
> so I guess there could be some conflict in syntax and semantics about {var}
>
> (but I haven't verified this theory)
See also http://bitbucket.org/tortoisehg/stable/src/0.9.1/contrib/win32/mercurial.iss#cl-64
which has
... FileExpandString('{app}\Mercurial.ini')
and further down we have:
procedure FileExpandString(fn: String);
var
InFile: String;
i: Integer;
InFileLines: TArrayOfString;
begin
InFile := ExpandConstant(fn);
LoadStringsFromFile(InFile, InFileLines);
for i:= 0 to GetArrayLength(InFileLines)-1 do
InFileLines[i] := ExpandConstant(InFileLines[i]);
SaveStringsToFile(InFile, InFileLines, False);
end;
More information about the Mercurial
mailing list