equal
deleted
inserted
replaced
303 |
303 |
304 |
304 |
305 </body> |
305 </body> |
306 </html> |
306 </html> |
307 |
307 |
|
308 |
|
309 set up hgweb with git diffs + noprefix |
|
310 |
|
311 $ killdaemons.py |
|
312 $ hg serve --config 'diff.git=1' --config 'diff.noprefix=1' -p $HGPORT -d \ |
|
313 > --pid-file=hg.pid -A access.log -E errors.log |
|
314 $ cat hg.pid >> $DAEMON_PIDS |
|
315 |
|
316 patch header and diffstat |
|
317 |
|
318 $ get-with-headers.py localhost:$HGPORT 'rev/0' \ |
|
319 > | egrep 'files changed|---|\+\+\+' |
|
320 2 files changed, 2 insertions(+), 0 deletions(-) |
|
321 <span id="l1.2" class="minusline">--- /dev/null</span><a href="#l1.2"></a> |
|
322 <span id="l1.3" class="plusline">+++ a</span><a href="#l1.3"></a> |
|
323 <span id="l2.2" class="minusline">--- /dev/null</span><a href="#l2.2"></a> |
|
324 <span id="l2.3" class="plusline">+++ b</span><a href="#l2.3"></a> |
308 |
325 |
309 set up hgweb with git diffs |
326 set up hgweb with git diffs |
310 |
327 |
311 $ killdaemons.py |
328 $ killdaemons.py |
312 $ hg serve --config 'diff.git=1' -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
329 $ hg serve --config 'diff.git=1' -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |