Mercurial > hg
changeset 13092:83986af605e5
test-subrepo-git.t: make gitroot pushable earlier
Older git versions get confused when the git repo becomes bare.
author | Eric Eisner <ede@mit.edu> |
---|---|
date | Mon, 06 Dec 2010 21:17:27 -0500 |
parents | 8cecea387574 |
children | d0cbddfe3f4c |
files | tests/test-subrepo-git.t |
diffstat | 1 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-subrepo-git.t Mon Dec 06 21:17:27 2010 -0500 +++ b/tests/test-subrepo-git.t Mon Dec 06 21:17:27 2010 -0500 @@ -59,8 +59,16 @@ source ../gitroot revision 126f2a14290cd5ce061fdedc430170e8d39e1c5a +make $GITROOT pushable, by replacing it with a clone with nothing checked out + + $ cd .. + $ git clone gitroot gitrootbare --bare -q + $ rm -rf gitroot + $ mv gitrootbare gitroot + clone root + $ cd t $ hg clone . ../tc updating to branch default cloning subrepo s @@ -82,16 +90,9 @@ source ../gitroot revision da5f5b1d8ffcf62fb8327bcd3c89a4367a6018e7 -make $GITROOT pushable, by replacing it with a clone with nothing checked out - - $ cd .. - $ git clone gitroot gitrootbare --bare -q - $ rm -rf gitroot - $ mv gitrootbare gitroot - clone root, make local change - $ cd t + $ cd ../t $ hg clone . ../ta updating to branch default cloning subrepo s