Show More
@@ -264,3 +264,37 b' hgweb' | |||
|
264 | 264 | foobar 1:9b140be10808 |
|
265 | 265 | |
|
266 | 266 | $ cd .. |
|
267 | ||
|
268 | Pushing a bookmark should only push the changes required by that | |
|
269 | bookmark, not all outgoing changes: | |
|
270 | $ hg clone http://localhost:$HGPORT/ addmarks | |
|
271 | requesting all changes | |
|
272 | adding changesets | |
|
273 | adding manifests | |
|
274 | adding file changes | |
|
275 | added 5 changesets with 5 changes to 3 files (+3 heads) | |
|
276 | updating to branch default | |
|
277 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
278 | $ cd addmarks | |
|
279 | $ echo foo > foo | |
|
280 | $ hg add foo | |
|
281 | $ hg commit -m 'add foo' | |
|
282 | $ echo bar > bar | |
|
283 | $ hg add bar | |
|
284 | $ hg commit -m 'add bar' | |
|
285 | $ hg co "tip^" | |
|
286 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
|
287 | $ hg book add-foo | |
|
288 | $ hg book -r tip add-bar | |
|
289 | Note: this push *must* push only a single changeset, as that's the point | |
|
290 | of this test. | |
|
291 | $ hg push -B add-foo | |
|
292 | pushing to http://localhost:$HGPORT/ | |
|
293 | searching for changes | |
|
294 | remote: adding changesets | |
|
295 | remote: adding manifests | |
|
296 | remote: adding file changes | |
|
297 | remote: added 1 changesets with 1 changes to 1 files | |
|
298 | exporting bookmark add-foo | |
|
299 | ||
|
300 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now