equal
deleted
inserted
replaced
1342 |
1342 |
1343 Move the bookmark "foo" to point at a secret changeset |
1343 Move the bookmark "foo" to point at a secret changeset |
1344 $ hg commit -qAm_ --config phases.new-commit=secret |
1344 $ hg commit -qAm_ --config phases.new-commit=secret |
1345 |
1345 |
1346 Pushing the bookmark "foo" now fails as it contains a secret changeset |
1346 Pushing the bookmark "foo" now fails as it contains a secret changeset |
1347 #if b2-pushkey |
|
1348 $ hg push -r foo |
1347 $ hg push -r foo |
1349 pushing to $TESTTMP/issue6159remote |
1348 pushing to $TESTTMP/issue6159remote |
1350 searching for changes |
1349 searching for changes |
1351 no changes found (ignored 1 secret changesets) |
1350 no changes found (ignored 1 secret changesets) |
1352 abort: updating bookmark foo failed! |
1351 abort: cannot push bookmark foo as it points to a secret changeset |
1353 [255] |
1352 [255] |
1354 #endif |
|
1355 |
|
1356 #if b2-binary |
|
1357 $ hg push -r foo |
|
1358 pushing to $TESTTMP/issue6159remote |
|
1359 searching for changes |
|
1360 no changes found (ignored 1 secret changesets) |
|
1361 updating bookmark foo |
|
1362 [1] |
|
1363 #endif |
|
1364 |
|
1365 Now the "remote" repo contains a bookmark pointing to a nonexistent revision |
|
1366 $ cd ../issue6159remote |
|
1367 #if b2-pushkey |
|
1368 $ hg bookmark |
|
1369 * foo 0:1599bc8b897a |
|
1370 $ hg log -r 1599bc8b897a |
|
1371 0:1599bc8b897a _ (no-eol) |
|
1372 #endif |
|
1373 |
|
1374 #if b2-binary |
|
1375 $ hg bookmark |
|
1376 no bookmarks set |
|
1377 $ cat .hg/bookmarks |
|
1378 cf489fd8a374cab73c2dc19e899bde6fe3a43f8f foo |
|
1379 $ hg log -r cf489fd8a374 |
|
1380 abort: unknown revision 'cf489fd8a374'! |
|
1381 [255] |
|
1382 #endif |
|