equal
deleted
inserted
replaced
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 abort: date exceeds 32 bits: 111111111111 |
29 [255] |
29 [255] |
30 $ hg commit -d '-7654321 3600' -m commit-7 |
30 $ hg commit -d '-111111111111 0' -m commit-7 |
31 abort: negative date value: -7654321 |
31 abort: date exceeds 32 bits: -111111111111 |
|
32 [255] |
|
33 $ echo foo >> foo |
|
34 $ hg commit -d '1901-12-13 20:45:53 +0000' -m commit-7-2 |
|
35 $ echo foo >> foo |
|
36 $ hg commit -d '-2147483647 0' -m commit-7-3 |
|
37 $ hg log -T '{rev} {date|isodatesec}\n' -l2 |
|
38 3 1901-12-13 20:45:53 +0000 |
|
39 2 1901-12-13 20:45:53 +0000 |
|
40 $ hg commit -d '1901-12-13 20:45:52 +0000' -m commit-7 |
|
41 abort: date exceeds 32 bits: -2147483648 |
|
42 [255] |
|
43 $ hg commit -d '-2147483648 0' -m commit-7 |
|
44 abort: date exceeds 32 bits: -2147483648 |
32 [255] |
45 [255] |
33 |
46 |
34 commit added file that has been deleted |
47 commit added file that has been deleted |
35 |
48 |
36 $ echo bar > bar |
49 $ echo bar > bar |
52 $ hg -v commit -m commit-9 dir |
65 $ hg -v commit -m commit-9 dir |
53 committing files: |
66 committing files: |
54 dir/file |
67 dir/file |
55 committing manifest |
68 committing manifest |
56 committing changelog |
69 committing changelog |
57 committed changeset 2:d2a76177cb42 |
70 committed changeset 4:76aab26859d7 |
58 |
71 |
59 $ echo > dir.file |
72 $ echo > dir.file |
60 $ hg add |
73 $ hg add |
61 adding dir.file |
74 adding dir.file |
62 $ hg commit -m commit-10 dir dir.file |
75 $ hg commit -m commit-10 dir dir.file |
76 $ hg -v commit -m commit-13 ../dir |
89 $ hg -v commit -m commit-13 ../dir |
77 committing files: |
90 committing files: |
78 dir/file |
91 dir/file |
79 committing manifest |
92 committing manifest |
80 committing changelog |
93 committing changelog |
81 committed changeset 3:1cd62a2d8db5 |
94 committed changeset 5:9a50557f1baf |
82 $ cd .. |
95 $ cd .. |
83 |
96 |
84 $ hg commit -m commit-14 does-not-exist |
97 $ hg commit -m commit-14 does-not-exist |
85 abort: does-not-exist: * (glob) |
98 abort: does-not-exist: * (glob) |
86 [255] |
99 [255] |
100 $ hg -v commit -m commit-17 dir/file |
113 $ hg -v commit -m commit-17 dir/file |
101 committing files: |
114 committing files: |
102 dir/file |
115 dir/file |
103 committing manifest |
116 committing manifest |
104 committing changelog |
117 committing changelog |
105 committed changeset 4:49176991390e |
118 committed changeset 6:4b4c75bf422d |
106 |
119 |
107 An empty date was interpreted as epoch origin |
120 An empty date was interpreted as epoch origin |
108 |
121 |
109 $ echo foo >> foo |
122 $ echo foo >> foo |
110 $ hg commit -d '' -m commit-no-date |
123 $ hg commit -d '' -m commit-no-date |