[Development] Cloning version 5.6.2

Daniel Pfeifer daniel.pfeifer at mailbox.org
Tue Jan 10 10:26:25 CET 2017


Hi,

Up until one month ago, the following worked to clone version 5.6.2:

> git clone --branch v5.6.2 git://code.qt.io/qt/qt5.git .
> ./init-repository --module-subset=essential,qtconnectivity,qtlocation,qtserialbus,qtserialport

It now fails with the following output:

```
+ git clone --branch 5.6.2 git://code.qt.io/qt/qtbase.git qtbase
Cloning into 'qtbase'...
fatal: Remote branch 5.6.2 not found in upstream origin
git clone --branch 5.6.2 git://code.qt.io/qt/qtbase.git qtbase exited with status 32768 at ./init-repository line 195.
	Qt::InitRepository::exe(Qt::InitRepository=HASH(0x229ac18), "git", "clone", "--branch", "5.6.2", "git://code.qt.io/qt/qtbase.git", "qtbase") called at ./init-repository line 486
	Qt::InitRepository::git_clone_one_submodule(Qt::InitRepository=HASH(0x229ac18), "qtbase", "qt/qtbase.git", "5.6.2") called at ./init-repository line 392
	Qt::InitRepository::git_clone_all_submodules(Qt::InitRepository=HASH(0x229ac18), "qt/qt5", 0, "essential", "qtconnectivity", "qtlocation", "qtserialbus", "qtserialport") called at ./init-repository line 596
	Qt::InitRepository::run(Qt::InitRepository=HASH(0x229ac18)) called at ./init-repository line 607
```

If I pass `--branch v5.6.2` to `init-repository`, I get the same error.

If I call `git reset --hard 71ed40b0ace06eaa54ec41b2ad622911a94643be`, just
before calling `init-repository` (without branch), the submodules are cloned
with `--no-checkout`, effectively giving me the top development versions.

If I call `git reset --hard 71ed40b0ace06eaa54ec41b2ad622911a94643be` and then
call `init-repository` with the branch option, the submodules are cloned
with `--branch 5.6`, effectively giving me the top development of the 5.6
branch.

How can I get the exact tagged version v5.6.2?

cheers, Daniel



More information about the Development mailing list