2020-01-31 05:40:49 +03:00
|
|
|
#require py2
|
2019-12-10 02:24:31 +03:00
|
|
|
#chg-compatible
|
|
|
|
|
2016-11-30 13:11:28 +03:00
|
|
|
$ . "$TESTDIR/library.sh"
|
2018-01-10 21:44:15 +03:00
|
|
|
$ . "$TESTDIR/infinitepush/library.sh"
|
2016-11-30 13:11:28 +03:00
|
|
|
$ 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
|
2019-05-20 16:11:59 +03:00
|
|
|
$ hg --config extensions.remotenames= cloud backup
|
2018-06-05 14:24:26 +03:00
|
|
|
backing up stack rooted at f4ca5164f72e
|
2016-11-30 13:11:28 +03:00
|
|
|
remote: pushing 1 commit:
|
|
|
|
remote: f4ca5164f72e remotenamespush
|
2019-05-20 16:11:59 +03:00
|
|
|
commitcloud: backed up 1 commit
|