tests/test-git-interop.t
changeset 46796 38f55ef058fb
parent 45992 9dd5b129ff28
child 46840 6dea77e195d2
equal deleted inserted replaced
46795:048beb0167a7 46796:38f55ef058fb
    26   $ mkdir .hg
    26   $ mkdir .hg
    27   $ echo git >> .hg/requires
    27   $ echo git >> .hg/requires
    28   $ hg status
    28   $ hg status
    29   abort: repository specified git format in .hg/requires but has no .git directory
    29   abort: repository specified git format in .hg/requires but has no .git directory
    30   [255]
    30   [255]
       
    31   $ git config --global init.defaultBranch master
    31   $ git init
    32   $ git init
    32   Initialized empty Git repository in $TESTTMP/nogit/.git/
    33   Initialized empty Git repository in $TESTTMP/nogit/.git/
    33   $ git config --global init.defaultBranch master
       
    34 This status invocation shows some hg gunk because we didn't use
    34 This status invocation shows some hg gunk because we didn't use
    35 `hg init --git`, which fixes up .git/info/exclude for us.
    35 `hg init --git`, which fixes up .git/info/exclude for us.
    36   $ hg status
    36   $ hg status
    37   ? .hg/cache/git-commits.sqlite
    37   ? .hg/cache/git-commits.sqlite
    38   ? .hg/cache/git-commits.sqlite-shm
    38   ? .hg/cache/git-commits.sqlite-shm