tests/test-issue1438
author Patrick Mezard <pmezard@gmail.com>
Sun, 08 Nov 2009 18:08:24 +0100
changeset 9818 72d670c43f6e
parent 7783 2c5b2abfb8be
permissions -rwxr-xr-x
patchbomb: normalize date format in generated mboxes mbox format should use time.asctime(). Unfortunately, this function writes 2-characters day of week on Windows while unix one writes a single character. Normalize to Windows version since the other one can hardly be written with strftime().

#!/bin/sh
"$TESTDIR/hghave" symlink || exit 80

rm -rf a
hg init a
cd a

ln -s foo link
hg add link
hg ci -mbad link
hg rm link
hg ci -mok
hg diff -g -r 0:1 > bad.patch
hg up 0
hg import --no-commit bad.patch
hg st