view tests/test-diff-newlines @ 10675:3c05ecffe20d stable

hgweb: make code to join url path simpler Now SCRIPT_NAME never contains http://host:port part, we don't need to care about '://'.
author Yuya Nishihara <yuya@tcha.org>
date Thu, 11 Mar 2010 00:28:31 +0900
parents b914f0557832
children
line wrap: on
line source

#!/bin/sh

hg init
python -c 'print "confuse str.splitlines\nembedded\rnewline"' > a
hg ci -Ama -d '1 0'
echo clean diff >> a
hg ci -mb -d '2 0'
hg diff -r0 -r1