##// END OF EJS Templates
add more testcases for date parsing
Benoit Boissinot -
r2524:c1974f65 default
parent child Browse files
Show More
@@ -11,4 +11,6 hg backout --merge -d "2006-04-15 13:30
11 11 hg ci -d "1150000000 14400" -m "rev 4 (merge)"
12 12 echo "fail" >> a
13 13 hg ci -d "should fail" -m "fail"
14 hg ci -d "100000000000000000 1400" -m "fail"
15 hg ci -d "100000 1400000" -m "fail"
14 16 hg log --template '{date|date}\n'
@@ -6,6 +6,12 1 files updated, 0 files merged, 0 files
6 6 abort: invalid date: 'should fail'
7 7 transaction abort!
8 8 rollback completed
9 abort: date exceeds 32 bits: 100000000000000000
10 transaction abort!
11 rollback completed
12 abort: impossible time zone offset: 1400000
13 transaction abort!
14 rollback completed
9 15 Sun Jun 11 00:26:40 2006 -0400
10 16 Sat Apr 15 13:30:00 2006 +0200
11 17 Sat Apr 15 13:30:00 2006 +0000
General Comments 0
You need to be logged in to leave comments. Login now