mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
54484268fb
Summary: Notably, we drop all the encoding business when dealing with json objects, and instead use mercurial.json. Reviewed By: sfilipco Differential Revision: D19888130 fbshipit-source-id: 2101c32833484c37ce4376a61220b1b0afeb175a
24 lines
554 B
Perl
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
|