No subject
Thu Jun 12 23:09:36 BST 2008
* ok 17: fetch with a non-applying branch.<name>.merge
* expecting success:
! git fetch "a\!'b" > result 2>&1 &&
cat result &&
grep "fatal: 'a\\!'b'" result
fatal: 'a\!'b': unable to chdir or not a git archive
fatal: The remote end hung up unexpectedly
fatal: 'a\!'b': unable to chdir or not a git archive
* ok 18: quoting of a strangely named repo
* expecting success:
cd "$D" &&
git bundle create bundle5 HEAD master &&
git bundle list-heads bundle5 >actual &&
for h in HEAD refs/heads/master
do
echo "$(git rev-parse --verify $h) $h"
done >expect &&
diff -u expect actual
Counting objects: 12, done.
Compressing objects: 20% (1/5)
Compressing objects: 40% (2/5)
Compressing objects: 60% (3/5)
Compressing objects: 80% (4/5)
Compressing objects: 100% (5/5)
Compressing objects: 100% (5/5), done.
Writing objects: 8% (1/12)
Writing objects: 16% (2/12)
Writing objects: 25% (3/12)
Writing objects: 33% (4/12)
Writing objects: 41% (5/12)
Writing objects: 50% (6/12)
Writing objects: 58% (7/12)
Writing objects: 66% (8/12)
Writing objects: 75% (9/12)
Writing objects: 83% (10/12)
Writing objects: 91% (11/12)
Writing objects: 100% (12/12)
Writing objects: 100% (12/12), 934 bytes, done.
Total 12 (delta 0), reused 0 (delta 0)
* ok 19: bundle should record HEAD correctly
* expecting success:
cd "$D" &&
git branch -f side &&
(
cd three &&
o=$(git rev-parse --verify refs/remotes/origin/master) &&
git fetch origin master &&
n=$(git rev-parse --verify refs/remotes/origin/master) &&
test "$o" = "$n" &&
! git rev-parse --verify refs/remotes/origin/side
)
remote: Counting objects: 11, done.[K
remote: Compressing objects: 25% (1/4) [K
remote: Compressing objects: 50% (2/4) [K
remote: Compressing objects: 75% (3/4) [K
remote: Compressing objects: 100% (4/4) [K
remote: Compressing objects: 100% (4/4), done.[K
remote: Total 9 (delta 0), reused 0 (delta 0)[K
fatal: Needed a single revision
* ok 20: explicit fetch should not update tracking
* expecting success:
cd "$D" &&
git branch -f side &&
(
cd three &&
o=$(git rev-parse --verify refs/remotes/origin/master) &&
git pull origin master &&
n=$(git rev-parse --verify refs/remotes/origin/master) &&
test "$o" = "$n" &&
! git rev-parse --verify refs/remotes/origin/side
)
Updating bb4dd43..ad34be1
Fast forward
file | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
create mode 100644 file2
fatal: Needed a single revision
* ok 21: explicit pull should not update tracking
* expecting success:
cd "$D" &&
git branch -f side &&
(
cd three &&
o=$(git rev-parse --verify refs/remotes/origin/master) &&
git fetch origin &&
n=$(git rev-parse --verify refs/remotes/origin/master) &&
test "$o" != "$n" &&
git rev-parse --verify refs/remotes/origin/side
)
More information about the ubuntu-autotest
mailing list