Mercurial > hg
changeset 40571:95a079ea1e19
tests: drop obsolete "hginit" alias in remotefilelog tests
Differential Revision: https://phab.mercurial-scm.org/D5247
line wrap: on
line diff
--- a/tests/remotefilelog-library.sh Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/remotefilelog-library.sh Fri Nov 09 08:19:08 2018 -0800 @@ -60,13 +60,6 @@ EOF } -hginit() { - local name - name=$1 - shift - hg init $name $@ -} - clearcache() { rm -rf $CACHEDIR/* }
--- a/tests/test-remotefilelog-bad-configs.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-bad-configs.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-bgprefetch.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-bgprefetch.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-blame.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-blame.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-bundle2-legacy.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-bundle2-legacy.t Fri Nov 09 08:19:08 2018 -0800 @@ -40,7 +40,7 @@ > deleted = True > EOF - $ hginit master + $ hg init master $ grep generaldelta master/.hg/requires generaldelta $ cd master
--- a/tests/test-remotefilelog-bundle2.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-bundle2.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ grep generaldelta master/.hg/requires generaldelta $ cd master
--- a/tests/test-remotefilelog-bundles.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-bundles.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-clone-tree.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-clone-tree.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ echo treemanifest >> .hg/requires $ cat >> .hg/hgrc <<EOF
--- a/tests/test-remotefilelog-clone.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-clone.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-corrupt-cache.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-corrupt-cache.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-gc.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-gc.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-gcrepack.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-gcrepack.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-http.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-http.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-keepset.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-keepset.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-linknodes.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-linknodes.t Fri Nov 09 08:19:08 2018 -0800 @@ -5,7 +5,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog] @@ -59,7 +59,7 @@ $ rm -rf master $ rm -rf shallow - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-local.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-local.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-log.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-log.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-partial-shallow.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-partial-shallow.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-permissions.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-permissions.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-prefetch.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-prefetch.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-pull-noshallow.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-pull-noshallow.t Fri Nov 09 08:19:08 2018 -0800 @@ -18,7 +18,7 @@ Set up the master repository to pull from. - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-push-pull.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-push-pull.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog] @@ -182,7 +182,7 @@ # same filenode. Test this by constructing two separate histories of file 'c' # that share a file node and verifying that the history works after pushing. - $ hginit multimf-master + $ hg init multimf-master $ hgcloneshallow ssh://user@dummy/multimf-master multimf-shallow -q $ hgcloneshallow ssh://user@dummy/multimf-master multimf-shallow2 -q $ cd multimf-shallow
--- a/tests/test-remotefilelog-repack-fast.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-repack-fast.t Fri Nov 09 08:19:08 2018 -0800 @@ -8,7 +8,7 @@ > fastdatapack=True > EOF - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-repack.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-repack.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]
--- a/tests/test-remotefilelog-sparse.t Thu Nov 08 12:35:26 2018 -0800 +++ b/tests/test-remotefilelog-sparse.t Fri Nov 09 08:19:08 2018 -0800 @@ -3,7 +3,7 @@ $ . "$TESTDIR/remotefilelog-library.sh" - $ hginit master + $ hg init master $ cd master $ cat >> .hg/hgrc <<EOF > [remotefilelog]