Integrating revision number with .NET assembly
Alexander Gräf
alex at graef.cc
Fri Aug 1 15:25:22 CDT 2008
> If you want to get rid of the '+':
>
> hg id -i -r .
Thank you.
> And you can probably get rid of the whole activex dance by
> writing this in a simple batch file.
Tried that, but
echo XYZ >> outfile.txt
will always append a \r\n to the outfile, so it's very difficult to concatenate strings without even more "dance". I settled for the scripting host method because JavaScript is well known to me and it's easy to do string operations and such. You can even double click the file and it gets executed. Also, Windows batch file syntax sucks.
Thanks,
Alex
More information about the Mercurial
mailing list