tests/test-hgweb-diffs.t
changeset 17466 d5a3bda6e170
parent 17303 06217d3cf8d9
child 17991 d605a82cf189
equal deleted inserted replaced
17465:2d4a096e213c 17466:d5a3bda6e170
   289   </html>
   289   </html>
   290   
   290   
   291 
   291 
   292 set up hgweb with git diffs
   292 set up hgweb with git diffs
   293 
   293 
   294   $ "$TESTDIR/killdaemons.py"
   294   $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
   295   $ hg serve --config 'diff.git=1' -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   295   $ hg serve --config 'diff.git=1' -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   296   $ cat hg.pid >> $DAEMON_PIDS
   296   $ cat hg.pid >> $DAEMON_PIDS
   297 
   297 
   298 revision
   298 revision
   299 
   299 
   934   $ cd test1
   934   $ cd test1
   935   $ hg import -q --bypass --exact http://localhost:$HGPORT/rev/1
   935   $ hg import -q --bypass --exact http://localhost:$HGPORT/rev/1
   936 
   936 
   937 raw revision with diff block numbers
   937 raw revision with diff block numbers
   938 
   938 
   939   $ "$TESTDIR/killdaemons.py"
   939   $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
   940   $ cat <<EOF > .hg/hgrc
   940   $ cat <<EOF > .hg/hgrc
   941   > [web]
   941   > [web]
   942   > templates = rawdiff
   942   > templates = rawdiff
   943   > EOF
   943   > EOF
   944   $ mkdir rawdiff
   944   $ mkdir rawdiff
   971   --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   971   --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   972   +++ b/b	Thu Jan 01 00:00:00 1970 +0000
   972   +++ b/b	Thu Jan 01 00:00:00 1970 +0000
   973   @@ -0,0 +1,1 @@
   973   @@ -0,0 +1,1 @@
   974   +b
   974   +b
   975   
   975   
   976   $ "$TESTDIR/killdaemons.py"
   976   $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
   977   $ rm .hg/hgrc rawdiff/map
   977   $ rm .hg/hgrc rawdiff/map
   978   $ rmdir rawdiff
   978   $ rmdir rawdiff
   979   $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   979   $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   980   $ cat hg.pid >> $DAEMON_PIDS
   980   $ cat hg.pid >> $DAEMON_PIDS
   981 
   981