##// END OF EJS Templates
test-bookmarks-pushpull.t: verify correct push -B behavior...
Augie Fackler -
r17189:7199e82d default
parent child Browse files
Show More
@@ -262,5 +262,39 b' hgweb'
262 Z 2:0d2164f0ce0d
262 Z 2:0d2164f0ce0d
263 foo -1:000000000000
263 foo -1:000000000000
264 foobar 1:9b140be10808
264 foobar 1:9b140be10808
265
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
265
299
266 $ cd ..
300 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now