Mercurial > hg
comparison tests/test-up-local-change.t @ 23472:48cdf90f17c5
update: remove redundant and misplaced merge tests
The "nothing to merge" case is covered by test-merge-default.t.
The "uncommitted changes" case is covered by test-merge1.t (and
others).
The "merge -f" case is covered by test-merge-force.t.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 02 Dec 2014 16:39:59 -0800 |
parents | 6a254a2dd37c |
children | 406dfc63a1ad |
comparison
equal
deleted
inserted
replaced
23471:57b9c51cb4b4 | 23472:48cdf90f17c5 |
---|---|
81 changeset: 0:c19d34741b0a | 81 changeset: 0:c19d34741b0a |
82 user: test | 82 user: test |
83 date: Thu Jan 01 00:00:00 1970 +0000 | 83 date: Thu Jan 01 00:00:00 1970 +0000 |
84 summary: 1 | 84 summary: 1 |
85 | 85 |
86 $ hg --debug merge | |
87 abort: nothing to merge | |
88 (use 'hg update' instead) | |
89 [255] | |
90 $ hg parents | 86 $ hg parents |
91 changeset: 0:c19d34741b0a | 87 changeset: 0:c19d34741b0a |
92 user: test | 88 user: test |
93 date: Thu Jan 01 00:00:00 1970 +0000 | 89 date: Thu Jan 01 00:00:00 1970 +0000 |
94 summary: 1 | 90 summary: 1 |
168 | 164 |
169 $ hg --debug up | 165 $ hg --debug up |
170 abort: uncommitted changes | 166 abort: uncommitted changes |
171 (commit and merge, or update --clean to discard changes) | 167 (commit and merge, or update --clean to discard changes) |
172 [255] | 168 [255] |
173 $ hg --debug merge | |
174 abort: uncommitted changes | |
175 (use 'hg status' to list changes) | |
176 [255] | |
177 $ hg --debug merge -f | |
178 searching for copies back to rev 1 | |
179 unmatched files new in both: | |
180 b | |
181 resolving manifests | |
182 branchmerge: True, force: True, partial: False | |
183 ancestor: c19d34741b0a, local: 1e71731e6fbb+, remote: 83c51d0caff4 | |
184 preserving a for resolve of a | |
185 preserving b for resolve of b | |
186 a: versions differ -> m | |
187 updating: a 1/2 files (50.00%) | |
188 picked tool 'true' for a (binary False symlink False) | |
189 merging a | |
190 my a@1e71731e6fbb+ other a@83c51d0caff4 ancestor a@c19d34741b0a | |
191 b: both created -> m | |
192 updating: b 2/2 files (100.00%) | |
193 picked tool 'true' for b (binary False symlink False) | |
194 merging b | |
195 my b@1e71731e6fbb+ other b@83c51d0caff4 ancestor b@000000000000 | |
196 0 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
197 (branch merge, don't forget to commit) | |
198 $ hg parents | |
199 changeset: 1:1e71731e6fbb | |
200 user: test | |
201 date: Thu Jan 01 00:00:00 1970 +0000 | |
202 summary: 2 | |
203 | |
204 changeset: 2:83c51d0caff4 | |
205 tag: tip | |
206 parent: 0:c19d34741b0a | |
207 user: test | |
208 date: Thu Jan 01 00:00:00 1970 +0000 | |
209 summary: 3 | |
210 | |
211 $ hg diff --nodates | |
212 diff -r 1e71731e6fbb a | |
213 --- a/a | |
214 +++ b/a | |
215 @@ -1,1 +1,1 @@ | |
216 -a2 | |
217 +abc | |
218 | |
219 | 169 |
220 test a local add | 170 test a local add |
221 | 171 |
222 $ cd .. | 172 $ cd .. |
223 $ hg init a | 173 $ hg init a |