... | @@ -90,7 +90,7 @@ In subversion, branches and tags are kind of symlinks to snapshots of the develo |
... | @@ -90,7 +90,7 @@ In subversion, branches and tags are kind of symlinks to snapshots of the develo |
|
|
|
|
|
By default git-svn just clones the repository 'as-is', (you'll end up with a migrated repository in git with exactly that structure, `trunk`, `tags`, `branches`, and no git branches nor git tags).
|
|
By default git-svn just clones the repository 'as-is', (you'll end up with a migrated repository in git with exactly that structure, `trunk`, `tags`, `branches`, and no git branches nor git tags).
|
|
|
|
|
|
But you almost always want to convert subversion branches and tags to git branches and tags. git-svn takes options to set the directories for branches and tags. If your subversion repository has the classic standard layout structure, you can use the shorthand option `--stdlayout` to convert all svn branches in `branches` and all svn tags in `tags` to git ones (if your repository has a non standard layout, there are options to instruct git-svn of the layout, see git-svn documentation).
|
|
But you almost always want to convert subversion branches and tags. git-svn takes options to set the directories for branches and tags. If your subversion repository has the classic standard layout structure, you can use the shorthand option `--stdlayout` to convert all svn branches in `branches` and all svn tags in `tags` to git ones (if your repository has a non standard layout, there are options to instruct git-svn of the layout, see git-svn documentation).
|
|
|
|
|
|
###### git-svn command
|
|
###### git-svn command
|
|
|
|
|
... | @@ -115,6 +115,9 @@ git clone git@gitlab.inria.fr:<gitlab_user>/<gitlab_project>.git |
... | @@ -115,6 +115,9 @@ git clone git@gitlab.inria.fr:<gitlab_user>/<gitlab_project>.git |
|
cd <gitlab_project>
|
|
cd <gitlab_project>
|
|
# check that all is correct
|
|
# check that all is correct
|
|
```
|
|
```
|
|
|
|
###### Post-processing
|
|
|
|
|
|
|
|
TODO
|
|
|
|
|
|
##### Alternative methods
|
|
##### Alternative methods
|
|
|
|
|
... | | ... | |