sapling/eden/scm/tests/test-commitcloud-backup-remotenames.t
Durham Goode 54484268fb py3: more commit cloud fixes
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
2020-02-28 11:32:16 -08: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