Laden eines Zweiges vom Basar

1380
Android

Ich versuche, den Kaliber-Quellcode mit Bazaar über den Befehl herunterzuladen:

bzr branch lp:calibre 

Dabei erhalte ich die Nachricht:

You have not informed bzr of your Launchpad ID, and you must do this to write to Launchpad or access private data. See "bzr help launchpad-login". 

Und dann nichts. Ich bekomme keine Fehlermeldung. Es blinkt einfach weiter und bleibt hängen.

Nach langer Zeit wird dies angezeigt:

Branched 12247 revisions. 

Aber wenn ich in den Kaliberordner gehe, ist er leer. Was mache ich hier falsch?

3
Haben Sie versucht, Ihren Launchpad-Login festzulegen? `bzr launchpad-login YourLoginHere` Yohann vor 11 Jahren 0
Bitte cd in das Verzeichnis und fügen Sie die Ausgabe dieses Befehls ein: bzr status; bzr Checkout. janos vor 11 Jahren 0

2 Antworten auf die Frage

0
mgorven

Es klingt, als hätte es einen Zweig ohne einen funktionierenden Baum erstellt. Wenn ja, sollten Sie ein .bzrVerzeichnis im calibreVerzeichnis sehen. Um einen Arbeitsbaum zu erstellen, führen Sie bzr checkoutden Zweig aus.

0
janos

The message you get about Launchpad ID is only a warning and you can ignore it for now.

It is normal that a branch operation takes long, keep in mind that it downloads the full history of the Calibre project.

The last message Branched N revisions indicates that the operation was successful. If you did this inside a shared repository that is configured with the --no-trees option then it is normal that the calibre directory contains only a .bzr directory, as in this configuration Bazaar will not create working trees. To create the working tree use the bzr checkout . command (notice the . (dot) at the end).

If you don't need the full history you can get the files much faster using so-called light-weight checkouts like this:

bzr checkout --light lp:calibre 

Although this will speed up the branching process, all history operations like bzr log etc will take longer, as Bazaar will need to fetch data from Launchpad.