Show More
@@ -19,7 +19,7 b'' | |||||
19 | $ hg co |
|
19 | $ hg co | |
20 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
20 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
21 | $ echo bar>>foo |
|
21 | $ echo bar>>foo | |
22 | $ hg commit -m "2" |
|
22 | $ hg commit -m "2" -d '1 0' | |
23 |
|
23 | |||
24 | $ cd ../test |
|
24 | $ cd ../test | |
25 |
|
25 | |||
@@ -30,7 +30,7 b'' | |||||
30 | adding manifests |
|
30 | adding manifests | |
31 | adding file changes |
|
31 | adding file changes | |
32 | added 1 changesets with 1 changes to 1 files |
|
32 | added 1 changesets with 1 changes to 1 files | |
33 |
new changesets |
|
33 | new changesets 84b9316f7b31 | |
34 | 1 local changesets published |
|
34 | 1 local changesets published | |
35 | (run 'hg update' to get a working copy) |
|
35 | (run 'hg update' to get a working copy) | |
36 |
|
36 | |||
@@ -57,25 +57,47 b' update to rev 0 with a date' | |||||
57 | abort: you can't specify a revision and a date |
|
57 | abort: you can't specify a revision and a date | |
58 | [255] |
|
58 | [255] | |
59 |
|
59 | |||
|
60 | update by date | |||
|
61 | ||||
|
62 | $ hg update -d '<1970-01-01 00:00:02 +0000' | |||
|
63 | found revision 1 from Thu Jan 01 00:00:01 1970 +0000 | |||
|
64 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
|
65 | $ hg update -d '<1970-01-01 00:00:01 +0000' | |||
|
66 | found revision 1 from Thu Jan 01 00:00:01 1970 +0000 | |||
|
67 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
|
68 | $ hg update -d '<1970-01-01 00:00:00 +0000' | |||
|
69 | found revision 0 from Thu Jan 01 00:00:00 1970 +0000 | |||
|
70 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
|
71 | ||||
|
72 | $ hg update -d '>1970-01-01 00:00:02 +0000' | |||
|
73 | abort: revision matching date not found | |||
|
74 | [255] | |||
|
75 | $ hg update -d '>1970-01-01 00:00:01 +0000' | |||
|
76 | found revision 1 from Thu Jan 01 00:00:01 1970 +0000 | |||
|
77 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
|
78 | $ hg update -d '>1970-01-01 00:00:00 +0000' | |||
|
79 | found revision 1 from Thu Jan 01 00:00:01 1970 +0000 | |||
|
80 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
|
81 | ||||
60 | update to default destination (with empty revspec) |
|
82 | update to default destination (with empty revspec) | |
61 |
|
83 | |||
62 | $ hg update -q null |
|
84 | $ hg update -q null | |
63 | $ hg update |
|
85 | $ hg update | |
64 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
86 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
65 | $ hg id |
|
87 | $ hg id | |
66 | 30aff43faee1 tip |
|
88 | 84b9316f7b31 tip | |
67 |
|
89 | |||
68 | $ hg update -q null |
|
90 | $ hg update -q null | |
69 | $ hg update -r '' |
|
91 | $ hg update -r '' | |
70 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
92 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
71 | $ hg id |
|
93 | $ hg id | |
72 | 30aff43faee1 tip |
|
94 | 84b9316f7b31 tip | |
73 |
|
95 | |||
74 | $ hg update -q null |
|
96 | $ hg update -q null | |
75 | $ hg update '' |
|
97 | $ hg update '' | |
76 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
98 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
77 | $ hg id |
|
99 | $ hg id | |
78 | 30aff43faee1 tip |
|
100 | 84b9316f7b31 tip | |
79 |
|
101 | |||
80 | $ cd .. |
|
102 | $ cd .. | |
81 |
|
103 |
General Comments 0
You need to be logged in to leave comments.
Login now