|Deletions are marked like this.||Additions are marked like this.|
|Line 1:||Line 1:|
|################ We need to combine this page with Code/Imports
Launchpad provides a free service which imports the trunk of a project from Subversion, CVS, Mercurial or Git to Bazaar, and then keeps that trunk branch up to date. This allows you to make your own Bazaar branches from the project trunk, and keep them up to date by merging from trunk over time as you develop your feature.
To request an import, please:
Make sure the project is registered in Launchpad, or register it yourself.
Then visit the page for requesting a code import and fill out the details.
- This will:
- Create an empty branch to contain the imported code.
- Subscribe you to it so that you will be notified both when the initial import completes and subsequent updates import new revisions.
- Notify the import operators who will check that the import location and approve the import.
Note: if the import source is a Subversion repository, then it should be a "trunk" directory. If we can't find trunk in the repository, we won't activate the import.
The initial import can take a long time—up to several days, depending on the number of revisions that need to be converted. Once the import is established it will be updated from the CVS or Subversion branch with every 6-12 hours, although an import can be requested at any time by clicking the "Import Now" button on the import page.
Depending on the nature of the import source, there are different restrictions on what branches can be tracked:
CVS: The importer can only track the HEAD branch of the project.
Subversion: All branches can usually be imported, though if the layout of the repository is unusual (not following Subversion's 'trunk', 'tags' and 'branches' convention), there may be problems.
Git: Currently, only the HEAD branch of a given Git repository may be imported. Work is under way in the bzr and bzr-git projects to lift this restriction.
Mercurial: The branch that descends from the tip revision will be imported. The import system will not cope well with a repository that contains multiple heads.
If you are having trouble using the service, please ask on #launchpad on Freenode, or mail the Launchpad team.