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