Mercurial > hg
view tests/test-hgweb-diffs @ 12311:8afbf44cfe86
win32: update build instructions with correct CRT version
As stated in http://msdn.microsoft.com/en-us/library/cc664727.aspx, when you
compile an application with MSVC 2008 SP1 it is bound by default to the
original CRT version (9.0.21022.8). This is the case for Python 2.6 up to 3.1.
If the wrong CRT version is embedded in the Inno Setup installer, with a PC
that does not have the MSVC 2008 redistributable package installed, hg will
refuse to launch with an error: "the system cannot execute the specified
program".
author | Pascal Quantin <pascal.quantin@gmail.com> |
---|---|
date | Thu, 16 Sep 2010 11:36:38 +0200 |
parents | ffda19f351fa |
children |
line wrap: on
line source
#!/bin/sh echo % setting up repo hg init test cd test echo a > a echo b > b hg ci -Ama echo % change permissions for git diffs chmod 755 a hg ci -Amb echo % set up hgweb hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log cat hg.pid >> $DAEMON_PIDS echo % revision "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/0' echo % raw revision "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/raw-rev/0' echo % diff removed file "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/a' echo % set up hgweb with git diffs "$TESTDIR/killdaemons.py" hg serve --config 'diff.git=1' -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log cat hg.pid >> $DAEMON_PIDS echo % revision "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/0' echo % revision "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/raw-rev/0' echo % diff removed file "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/a' cd .. echo % test import rev as raw-rev hg clone -r0 test test1 cd test1 hg import -q --exact http://localhost:$HGPORT/rev/1 echo % errors cat ../test/errors.log