[Google Pixel XL Questions & Answers] gudenau:
I am trying to download the Pixel XL kernel sources from Google but I can't seem to do it following their guide.

Whenever I run `repo init -u https://android.googlesource.com/kernel/manifest -b android-msm-marlin-3.18-pie-qpr2`, it errors out complaining that default.xml is missing. I can't find a single xml file in the .repo directory either.

Console:

$ repo init -u https://android.googlesource.com/kernel/manifest -b android-msm-marlin-3.18-pie-qpr2
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
remote: Counting objects: 1, done
remote: Finding sources: 100% (105/105)
remote: Total 105 (delta 28), reused 105 (delta 28)
Receiving objects: 100% (105/105), 184.38 KiB | 6.58 MiB/s, done.
Resolving deltas: 100% (28/28), completed with 16 local objects.
From https://gerrit.googlesource.com/git-repo
d92464e..0c0e934 master -> origin/master
13f323b..c5b0e23 stable -> origin/stable
* [new tag] v1.13.3 -> v1.13.3
Get https://android.googlesource.com/kernel/manifest
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
Server does not provide clone.bundle; ignoring.
remote: Total 110 (delta 30), reused 110 (delta 30)
Receiving objects: 100% (110/110), 17.66 KiB | 2.52 MiB/s, done.
Resolving deltas: 100% (30/30), done.
From https://android.googlesource.com/kernel/manifest
* [new branch] android-hikey-linaro-4.14 -> origin/android-hikey-linaro-4.14
* [new branch] android-hikey-linaro-4.19 -> origin/android-hikey-linaro-4.19
* [new branch] android-hikey-linaro-4.4 -> origin/android-hikey-linaro-4.4
* [new branch] android-hikey-linaro-4.9 -> origin/android-hikey-linaro-4.9
* [new branch] android-hikey960-linaro-4.14 -> origin/android-hikey960-linaro-4.14
* [new branch] android-hikey960-linaro-4.19 -> origin/android-hikey960-linaro-4.19
* [new branch] android-hikey960-linaro-4.4 -> origin/android-hikey960-linaro-4.4
* [new branch] android-hikey960-linaro-4.9 -> origin/android-hikey960-linaro-4.9
* [new branch] android-mainline-tracking -> origin/android-mainline-tracking
* [new branch] android-msm-bluecross-4.9-pie-qpr1 -> origin/android-msm-bluecross-4.9-pie-qpr1
* [new branch] android-msm-bonito-4.9-pie-b4s4 -> origin/android-msm-bonito-4.9-pie-b4s4
* [new branch] android-msm-crosshatch-4.9-pie-qpr1 -> origin/android-msm-crosshatch-4.9-pie-qpr1
* [new branch] android-msm-crosshatch-4.9-pie-qpr2 -> origin/android-msm-crosshatch-4.9-pie-qpr2
* [new branch] android-msm-marlin-3.18-pie-qpr1 -> origin/android-msm-marlin-3.18-pie-qpr1
* [new branch] android-msm-marlin-3.18-pie-qpr2 -> origin/android-msm-marlin-3.18-pie-qpr2
* [new branch] android-msm-wahoo-4.4-pie-qpr1 -> origin/android-msm-wahoo-4.4-pie-qpr1
* [new branch] android-msm-wahoo-4.4-pie-qpr2 -> origin/android-msm-wahoo-4.4-pie-qpr2
* [new branch] aosp-goldfish-3.10-arm-ranchu -> origin/aosp-goldfish-3.10-arm-ranchu
* [new branch] aosp-goldfish-3.10-arm64-ranchu -> origin/aosp-goldfish-3.10-arm64-ranchu
* [new branch] aosp-goldfish-3.10-mips-ranchu -> origin/aosp-goldfish-3.10-mips-ranchu
* [new branch] aosp-goldfish-3.10-mips64-ranchu -> origin/aosp-goldfish-3.10-mips64-ranchu
* [new branch] aosp-goldfish-3.10-x86-ranchu -> origin/aosp-goldfish-3.10-x86-ranchu
* [new branch] aosp-goldfish-3.10-x86_64-goldfish -> origin/aosp-goldfish-3.10-x86_64-goldfish
* [new branch] aosp-goldfish-3.10-x86_64-ranchu -> origin/aosp-goldfish-3.10-x86_64-ranchu
* [new branch] aosp-goldfish-3.4-arm-goldfish -> origin/aosp-goldfish-3.4-arm-goldfish
* [new branch] aosp-goldfish-3.4-mips-goldfish -> origin/aosp-goldfish-3.4-mips-goldfish
* [new branch] aosp-goldfish-3.4-x86-goldfish -> origin/aosp-goldfish-3.4-x86-goldfish
* [new branch] common-android-4.14 -> origin/common-android-4.14
* [new branch] common-android-4.19 -> origin/common-android-4.19
* [new branch] common-android-4.19-gki-dev -> origin/common-android-4.19-gki-dev
* [new branch] common-android-4.4 -> origin/common-android-4.4
* [new branch] common-android-4.9 -> origin/common-android-4.9
* [new branch] common-android-mainline -> origin/common-android-mainline
* [new branch] master -> origin/master
* [new branch] n-common-android-4.4 -> origin/n-common-android-4.4
* [new branch] n-release-common-android-4.4 -> origin/n-release-common-android-4.4
* [new branch] o-common-android-4.4 -> origin/o-common-android-4.4
* [new branch] o-common-android-4.9 -> origin/o-common-android-4.9
* [new branch] o-release-common-android-4.4 -> origin/o-release-common-android-4.4
* [new branch] o-release-common-android-4.9 -> origin/o-release-common-android-4.9
* [new branch] p-common-android-4.14 -> origin/p-common-android-4.14
* [new branch] p-common-android-4.4 -> origin/p-common-android-4.4
* [new branch] p-common-android-4.9 -> origin/p-common-android-4.9
* [new branch] p-release-common-android-4.14 -> origin/p-release-common-android-4.14
* [new branch] p-release-common-android-4.4 -> origin/p-release-common-android-4.4
* [new branch] p-release-common-android-4.9 -> origin/p-release-common-android-4.9
* [new branch] q-common-android-4.14 -> origin/q-common-android-4.14
* [new branch] q-common-android-4.19 -> origin/q-common-android-4.19
* [new branch] q-common-android-4.9 -> origin/q-common-android-4.9
* [new branch] upstream-linux-3.18.y -> origin/upstream-linux-3.18.y
* [new branch] upstream-linux-4.14.y -> origin/upstream-linux-4.14.y
* [new branch] upstream-linux-4.19.y -> origin/upstream-linux-4.19.y
* [new branch] upstream-linux-4.4.y -> origin/upstream-linux-4.4.y
* [new branch] upstream-linux-4.9.y -> origin/upstream-linux-4.9.y
fatal: manifest 'default.xml' not available
fatal: manifest default.xml not found

I am using repo v1.13.3 modified to use python 2 instead of 3. (Changed the shebang, nothing else)

$ repo --version
repo version v1.13.3
(from https://gerrit.googlesource.com/git-repo)
repo launcher version 1.25
(from /home/gudenau/bin/repo)
git version 2.22.0
Python 2.7.16 (default, Mar 11 2019, 18:59:25)
[GCC 8.2.1 20181127]

What am I doing wrong?