0.9.5 release plans

Micah Cowan micah at cowan.name
Tue Oct 16 18:00:52 CDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Georg-W. Koltermann wrote:
> Am Dienstag, den 16.10.2007, 23:36 +0200 schrieb Patrick Mézard:

>>  >  proc readrefs {} {
>>  > -    global tagids idtags headids idheads tagcontents env
>>  > +    global tagids idtags headids idheads tagcontents env curid
>>  > +
>>  > +    set curid [exec hg id]
>>
>> "[exec $env(HG) id]" would be better here.
> 
> Yup, got that from Steve Borho as well.
> 
>> Using "--id" may also be more safe.
> 
> ? If I try 'hg --id' on the command line I get 'option --id not
> recognized'.

hg id --id :)

This a recent feature (0.9.4+); I'm using

  hg log -r . --template '{node|short}\n'

to be a more-portable, close equivalent (I hope!) in some build scripts
(though portability may not be necessary here).

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHFUKk7M8hyUobTrERCJiGAJ4jcRN4wkH0qcSPRqRPc5L+unEWfACfTQuI
OUn3LMaA1DAtUvm56AOKEAY=
=6IZV
-----END PGP SIGNATURE-----


More information about the Mercurial-devel mailing list