Skip to content

Commit a445a50

Browse files
committed
Rephrased according ben's proposal
1 parent fe9a85e commit a445a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/09-git-and-other-scms/sections/import-svn.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ $ cp -Rf .git/refs/remotes/* .git/refs/heads/
9090
$ rm -Rf .git/refs/remotes
9191
----
9292

93-
It may happen that a branch is created *multiply*, suffixed by `@xxx` (where xxx is a number), while in svn you only see *one* branch. This is not a fault, but actually the solution to keep so-called "peg-revisions", which is a feature of svn that git simply has no syntactical counterpart for. Hence, `git svn` simply adds the svn version number to the branch name just in the same way as you would have written it in svn to address the peg-revision of that branch. If you do not care anymore about that peg-revisions, simply remove them using `git branch -d`.
93+
It may happen that you'll see some extra branches which are suffixed by @xxx (where xxx is a number), while in Subversion you only see one branch. This is actually a Subversion feature called "peg-revisions", which is something that Git simply has no syntactical counterpart for. Hence, git svn simply adds the svn version number to the branch name just in the same way as you would have written it in svn to address the peg-revision of that branch. If you do not care anymore about the peg-revisions, simply remove them using git branch -d.
9494

9595
Now all the old branches are real Git branches and all the old tags are real Git tags.
9696
The last thing to do is add your new Git server as a remote and push to it.

0 commit comments

Comments
 (0)