sapling/eden/scm/tests/test-commitcloud-backup-remotenames.t
Durham Goode 490468403b treemanifest: fix bundle usage with Rust contentstore
Summary:
The rust contentstore doesn't allow runtime manipulation of the list of
stores, which is required in order to insert the bundle store into the store.
Let's continue using the old python union store in these cases. This still let's
us delete the python pack code later, but we'll have to keep around the python
union store until we come up with a better solution.

Reviewed By: quark-zju

Differential Revision: D23689630

fbshipit-source-id: 0c60e6f268e81804149afa24409f64b5303e1e34
2020-09-24 09:46:59 -07:00

24 lines
554 B
Perl

#chg-compatible
$ . "$TESTDIR/library.sh"
$ . "$TESTDIR/infinitepush/library.sh"
$ setupcommon
Setup server
$ hg init repo
$ cd repo
$ setupserver
$ cd ..
Create client
$ hg clone ssh://user@dummy/repo client -q
$ cd client
Backup with remotenames enabled. Make sure that it works fine with anon heads
$ mkcommit remotenamespush
$ hg --config extensions.remotenames= cloud backup
backing up stack rooted at f4ca5164f72e
commitcloud: backed up 1 commit
remote: pushing 1 commit:
remote: f4ca5164f72e remotenamespush