mirror of
https://github.com/facebook/sapling.git
synced 2024-12-28 23:54:12 +03:00
ae8f6ff8e8
Summary: This should help reduce test flakiness. Reviewed By: xavierd Differential Revision: D19872952 fbshipit-source-id: d66f6c404534b3f47903b478e3cdfdda5ed46284
25 lines
567 B
Perl
25 lines
567 B
Perl
#require py2
|
|
#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
|