view tests/test-diff-newlines @ 4746:6def53be19fb

buildrpm: fix rpm release number calculation It was broken when patch queues were in use.
author Adam Spiers <hg@adamspiers.org>
date Sat, 30 Jun 2007 01:21:41 +0100
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