Show More
@@ -1,14 +1,16 | |||
|
1 | 1 | #!/bin/sh |
|
2 | 2 | |
|
3 | 3 | hg init |
|
4 | 4 | echo "test-parse-date" > a |
|
5 | 5 | hg add a |
|
6 | 6 | hg ci -d "2006-02-01 13:00:30" -m "rev 0" |
|
7 | 7 | echo "hi!" >> a |
|
8 | 8 | hg ci -d "2006-02-01 13:00:30 -0500" -m "rev 1" |
|
9 | 9 | hg tag -d "2006-04-15 13:30" "Hi" |
|
10 | 10 | hg backout --merge -d "2006-04-15 13:30 +0200" -m "rev 3" 1 |
|
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' |
@@ -1,13 +1,19 | |||
|
1 | 1 | reverting a |
|
2 | 2 | changeset 3:107ce1ee2b43 backs out changeset 1:25a1420a55f8 |
|
3 | 3 | merging with changeset 2:99a1acecff55 |
|
4 | 4 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
5 | 5 | (branch merge, don't forget to commit) |
|
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 |
|
12 | 18 | Wed Feb 01 13:00:30 2006 -0500 |
|
13 | 19 | Wed Feb 01 13:00:30 2006 +0000 |
General Comments 0
You need to be logged in to leave comments.
Login now