~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-security

« back to all changes in this revision

Viewing changes to Documentation/git-archimport.txt

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-10-04 08:27:01 UTC
  • mfrom: (1.1.23)
  • Revision ID: package-import@ubuntu.com-20071004082701-rsd058ontoqz4i30
Tags: 1:1.5.3.4-1
new upstream point release (closes: #445188).

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
Imports a project from one or more Arch repositories. It will follow branches
18
18
and repositories within the namespaces defined by the <archive/branch>
19
19
parameters supplied. If it cannot find the remote branch a merge comes from
20
 
it will just import it as a regular commit. If it can find it, it will mark it 
21
 
as a merge whenever possible (see discussion below). 
22
 
 
23
 
The script expects you to provide the key roots where it can start the import 
24
 
from an 'initial import' or 'tag' type of Arch commit. It will follow and 
25
 
import new branches within the provided roots. 
26
 
 
27
 
It expects to be dealing with one project only. If it sees 
28
 
branches that have different roots, it will refuse to run. In that case, 
29
 
edit your <archive/branch> parameters to define clearly the scope of the 
30
 
import. 
31
 
 
32
 
`git-archimport` uses `tla` extensively in the background to access the 
 
20
it will just import it as a regular commit. If it can find it, it will mark it
 
21
as a merge whenever possible (see discussion below).
 
22
 
 
23
The script expects you to provide the key roots where it can start the import
 
24
from an 'initial import' or 'tag' type of Arch commit. It will follow and
 
25
import new branches within the provided roots.
 
26
 
 
27
It expects to be dealing with one project only. If it sees
 
28
branches that have different roots, it will refuse to run. In that case,
 
29
edit your <archive/branch> parameters to define clearly the scope of the
 
30
import.
 
31
 
 
32
`git-archimport` uses `tla` extensively in the background to access the
33
33
Arch repository.
34
34
Make sure you have a recent version of `tla` available in the path. `tla` must
35
 
know about the repositories you pass to `git-archimport`. 
 
35
know about the repositories you pass to `git-archimport`.
36
36
 
37
 
For the initial import `git-archimport` expects to find itself in an empty 
38
 
directory. To follow the development of a project that uses Arch, rerun 
39
 
`git-archimport` with the same parameters as the initial import to perform 
 
37
For the initial import `git-archimport` expects to find itself in an empty
 
38
directory. To follow the development of a project that uses Arch, rerun
 
39
`git-archimport` with the same parameters as the initial import to perform
40
40
incremental imports.
41
41
 
42
42
While git-archimport will try to create sensible branch names for the
54
54
 
55
55
MERGES
56
56
------
57
 
Patch merge data from Arch is used to mark merges in git as well. git 
 
57
Patch merge data from Arch is used to mark merges in git as well. git
58
58
does not care much about tracking patches, and only considers a merge when a
59
59
branch incorporates all the commits since the point they forked. The end result
60
 
is that git will have a good idea of how far branches have diverged. So the 
 
60
is that git will have a good idea of how far branches have diverged. So the
61
61
import process does lose some patch-trading metadata.
62
62
 
63
 
Fortunately, when you try and merge branches imported from Arch, 
64
 
git will find a good merge base, and it has a good chance of identifying 
65
 
patches that have been traded out-of-sequence between the branches. 
 
63
Fortunately, when you try and merge branches imported from Arch,
 
64
git will find a good merge base, and it has a good chance of identifying
 
65
patches that have been traded out-of-sequence between the branches.
66
66
 
67
67
OPTIONS
68
68
-------
71
71
        Display usage.
72
72
 
73
73
-v::
74
 
        Verbose output. 
 
74
        Verbose output.
75
75
 
76
76
-T::
77
 
        Many tags. Will create a tag for every commit, reflecting the commit 
 
77
        Many tags. Will create a tag for every commit, reflecting the commit
78
78
        name in the Arch repository.
79
79
 
80
80
-f::
104
104
 
105
105
 
106
106
<archive/branch>::
107
 
        Archive/branch identifier in a format that `tla log` understands. 
 
107
        Archive/branch identifier in a format that `tla log` understands.
108
108
 
109
109
 
110
110
Author
118
118
GIT
119
119
---
120
120
Part of the gitlink:git[7] suite
121