13 abort: empty commit message |
13 abort: empty commit message |
14 [255] |
14 [255] |
15 $ hg commit -d '0 0' -m commit-1 |
15 $ hg commit -d '0 0' -m commit-1 |
16 $ echo foo >> foo |
16 $ echo foo >> foo |
17 $ hg commit -d '1 4444444' -m commit-3 |
17 $ hg commit -d '1 4444444' -m commit-3 |
18 abort: impossible time zone offset: 4444444 |
18 hg: parse error: impossible time zone offset: 4444444 |
19 [255] |
19 [255] |
20 $ hg commit -d '1 15.1' -m commit-4 |
20 $ hg commit -d '1 15.1' -m commit-4 |
21 abort: invalid date: '1\t15.1' |
21 hg: parse error: invalid date: '1\t15.1' |
22 [255] |
22 [255] |
23 $ hg commit -d 'foo bar' -m commit-5 |
23 $ hg commit -d 'foo bar' -m commit-5 |
24 abort: invalid date: 'foo bar' |
24 hg: parse error: invalid date: 'foo bar' |
25 [255] |
25 [255] |
26 $ hg commit -d ' 1 4444' -m commit-6 |
26 $ hg commit -d ' 1 4444' -m commit-6 |
27 $ hg commit -d '111111111111 0' -m commit-7 |
27 $ hg commit -d '111111111111 0' -m commit-7 |
28 abort: date exceeds 32 bits: 111111111111 |
28 hg: parse error: date exceeds 32 bits: 111111111111 |
29 [255] |
29 [255] |
30 $ hg commit -d '-111111111111 0' -m commit-7 |
30 $ hg commit -d '-111111111111 0' -m commit-7 |
31 abort: date exceeds 32 bits: -111111111111 |
31 hg: parse error: date exceeds 32 bits: -111111111111 |
32 [255] |
32 [255] |
33 $ echo foo >> foo |
33 $ echo foo >> foo |
34 $ hg commit -d '1901-12-13 20:45:52 +0000' -m commit-7-2 |
34 $ hg commit -d '1901-12-13 20:45:52 +0000' -m commit-7-2 |
35 $ echo foo >> foo |
35 $ echo foo >> foo |
36 $ hg commit -d '-2147483648 0' -m commit-7-3 |
36 $ hg commit -d '-2147483648 0' -m commit-7-3 |
37 $ hg log -T '{rev} {date|isodatesec}\n' -l2 |
37 $ hg log -T '{rev} {date|isodatesec}\n' -l2 |
38 3 1901-12-13 20:45:52 +0000 |
38 3 1901-12-13 20:45:52 +0000 |
39 2 1901-12-13 20:45:52 +0000 |
39 2 1901-12-13 20:45:52 +0000 |
40 $ hg commit -d '1901-12-13 20:45:51 +0000' -m commit-7 |
40 $ hg commit -d '1901-12-13 20:45:51 +0000' -m commit-7 |
41 abort: date exceeds 32 bits: -2147483649 |
41 hg: parse error: date exceeds 32 bits: -2147483649 |
42 [255] |
42 [255] |
43 $ hg commit -d '-2147483649 0' -m commit-7 |
43 $ hg commit -d '-2147483649 0' -m commit-7 |
44 abort: date exceeds 32 bits: -2147483649 |
44 hg: parse error: date exceeds 32 bits: -2147483649 |
45 [255] |
45 [255] |
46 |
46 |
47 commit added file that has been deleted |
47 commit added file that has been deleted |
48 |
48 |
49 $ echo bar > bar |
49 $ echo bar > bar |