Mercurial > hg
changeset 45683:04aa48afab99
tests: use `git init` instead of unusual synonym `git init-db`
I had never heard of `git init-db` until I saw our tests.
Differential Revision: https://phab.mercurial-scm.org/D9175
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 08 Oct 2020 13:10:16 -0700 |
parents | d2e1dcd4490d |
children | 0c18493287f5 |
files | tests/test-convert-git.t |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-convert-git.t Thu Oct 08 13:37:31 2020 -0700 +++ b/tests/test-convert-git.t Thu Oct 08 13:10:16 2020 -0700 @@ -32,7 +32,7 @@ > } $ mkdir git-repo $ cd git-repo - $ git init-db >/dev/null 2>/dev/null + $ git init >/dev/null 2>/dev/null $ echo a > a $ mkdir d $ echo b > d/b @@ -123,7 +123,7 @@ $ count=10 $ mkdir git-repo2 $ cd git-repo2 - $ git init-db >/dev/null 2>/dev/null + $ git init >/dev/null 2>/dev/null $ echo foo > foo $ git add foo $ commit -a -m 'add foo' @@ -421,7 +421,7 @@ $ count=19 $ mkdir git-repo3 $ cd git-repo3 - $ git init-db >/dev/null 2>/dev/null + $ git init >/dev/null 2>/dev/null $ "$PYTHON" -c 'import struct; open("b", "wb").write(b"".join([struct.Struct(">B").pack(i) for i in range(256)])*16)' $ git add b $ commit -a -m addbinary @@ -447,7 +447,7 @@ $ mkdir git-repo4 $ cd git-repo4 - $ git init-db >/dev/null 2>/dev/null + $ git init >/dev/null 2>/dev/null $ echo >> foo $ git add foo $ commit -a -m addfoo @@ -715,7 +715,7 @@ $ mkdir git-repo5 $ cd git-repo5 - $ git init-db >/dev/null 2>/dev/null + $ git init >/dev/null 2>/dev/null $ echo 'sub' >> foo $ git add foo $ commit -a -m 'addfoo' @@ -723,7 +723,7 @@ $ cd .. $ mkdir git-repo6 $ cd git-repo6 - $ git init-db >/dev/null 2>/dev/null + $ git init >/dev/null 2>/dev/null $ git submodule add ${BASE} >/dev/null 2>/dev/null $ commit -a -m 'addsubmodule' >/dev/null 2>/dev/null