sapling/tests/bundles
Stanislau Hlebik dee75aa345 pushrebase: support deletion of a bookmark in sendunbundlereplay
Summary:
Previously one couldn't use `sendunbundlereplay` to replay a bundle that just
deletes a bookmark i.e. sends only pushkey part. The problem was in that
`bundleoperation.gettransaction` method wasn't called and so a few hook
arguments weren't set.

In order to fix it this diff just calls this method before calling pushkey. The
solution is not clean, but I don't see much better alternatives.

Another smaller change that this diff is doing is changing sendunbundlereplay
command to require `--deleted` flag. This is just for convenience.

Reviewed By: quark-zju

Differential Revision: D14185380

fbshipit-source-id: f511dc0b9906520b7877501b37639d89ada6fc45
2019-02-25 13:08:00 -08:00
..
darcs1.hg tests: move test bundles in a bundles/ subdirectory 2011-04-30 17:38:06 +02:00
hgweb+obs.hg hgweb: add test regarding filtering and hgweb 2013-01-16 11:39:22 -06:00
issue4041.hg rebase: fix selection of base used when rebasing merge (issue4041) 2013-10-30 19:45:14 +01:00
issue4438-r1.hg discovery: test coverage for issue4438 / 475a22a41c55 / a720a37e15a3 2014-11-06 01:48:29 +01:00
issue4438-r2.hg discovery: test coverage for issue4438 / 475a22a41c55 / a720a37e15a3 2014-11-06 01:48:29 +01:00
legacy-encoding.hg tests: move test bundles in a bundles/ subdirectory 2011-04-30 17:38:06 +02:00
rebase-revset.hg rebase: add --rev option to rebase 2011-10-15 20:12:32 +02:00
rebase.hg tests: upgrade bundles/rebase.hg to support test-rebase-collapse 2011-04-30 17:38:06 +02:00
rebase.sh tests: don't hardcode path to bash interpreter 2014-03-25 23:07:52 +01:00
remote.hg tests: create a bundle to bootstrap tests using a remote repository 2011-04-30 17:38:06 +02:00
remote.sh tests: don't hardcode path to bash interpreter 2014-03-25 23:07:52 +01:00
rename.sh localrepo: add setparents() to adjust dirstate copies (issue3407) 2012-04-29 22:25:55 +02:00
renames.hg localrepo: add setparents() to adjust dirstate copies (issue3407) 2012-04-29 22:25:55 +02:00
sendunbundle_delete_bookmark.test.hg pushrebase: support deletion of a bookmark in sendunbundlereplay 2019-02-25 13:08:00 -08:00
sendunbundle.test.hg wireproto: add unbundlereplay command 2019-02-19 01:57:39 -08:00
tampered.hg tests: move test bundles in a bundles/ subdirectory 2011-04-30 17:38:06 +02:00
test-invalid-branch-name.hg update: allow update to existing branches with invalid names (issue3710) 2012-11-27 08:47:35 -05:00
test-keyword.hg tests: move test bundles in a bundles/ subdirectory 2011-04-30 17:38:06 +02:00
test-manifest.hg tests: move test bundles in a bundles/ subdirectory 2011-04-30 17:38:06 +02:00
test-merge-symlinks.hg tests: move test bundles in a bundles/ subdirectory 2011-04-30 17:38:06 +02:00
test-no-symlinks.hg tests: move test bundles in a bundles/ subdirectory 2011-04-30 17:38:06 +02:00