sapling/tests/test-infinitepushbackup-remotenames.t
Mark Thomas 3bf1e7d0b3 infinitepushbackup: back up commits stack-by-stack
Summary:
Use the new stack-by-stack commit backup for infinitepushbackup as well as
commitcloud.

Reviewed By: DurhamG

Differential Revision: D8241380

fbshipit-source-id: 0c1481ad1ab5759ab642d0b02c7fe08523056292
2018-06-05 04:36:07 -07:00

24 lines
608 B
Perl

$ . $TESTDIR/require-ext.sh remotenames
$ . "$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= pushbackup
starting backup .* (re)
backing up stack rooted at f4ca5164f72e
remote: pushing 1 commit:
remote: f4ca5164f72e remotenamespush
finished in \d+\.(\d+)? seconds (re)