sapling/tests/test-infinitepush-backup-remotenames.t
Stanislau Hlebik 01528f5840 infinitepush: rename debugbackup to pushbackup
Summary:
@simon suggested to rename `debugbackup` because `debug-` prefix
implies that command is internal only and it's not safe for user to run it.
This is not the case for the backup because user can safely run it.

Test Plan: Run `test-infinitepush-*`

Reviewers: simon, rmcelroy, mitrandir, durham, mjpieters

Reviewed By: mjpieters

Subscribers: simon, mjpieters, #sourcecontrol

Differential Revision: https://phabricator.intern.facebook.com/D4292516

Tasks: 12479677

Signature: t1:4292516:1481213170:a03c3eaebd3459887bbb3ff1c80f20977139cc90
2016-12-08 09:24:19 -08:00

22 lines
525 B
Perl

$ . $TESTDIR/require-ext.sh remotenames
$ . "$TESTDIR/library.sh"
$ . "$TESTDIR/library-infinitepush.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
searching for changes
remote: pushing 1 commit:
remote: f4ca5164f72e remotenamespush