What's the difference between creating a branch from a svn repository and svn-import

Asked by felipelavinz

Perhaps it's just a theoretical question, but I was just wondering... what's the difference between creating a branch or checkout from a subversion repository and using svn-import?

Please correct me if I'm wrong, but as far as I can tell both of these would import all of the repository history, so I don't really get the difference between the two of them. I certainly didn't got it clearer after reading the documentation on bzr-svn: http://doc.bazaar.canonical.com/beta/en/user-guide/svn_plugin.html#using-a-central-repository-mirror (it says how to use the command, but it's note very clear on why to use one or the other).

Does anybody have any clue about this?

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Subversion Plugin Edit question
Assignee:
No assignee Edit question
Solved by:
Jelmer Vernooij
Solved:
Last query:
Last reply:
Revision history for this message
Best Jelmer Vernooij (jelmer) said :
#1

On Thu 03 Nov 2011 04:30:59 CET, felipelavinz wrote:
> New question #177353 on Bazaar Subversion Plugin:
> https://answers.launchpad.net/bzr-svn/+question/177353
>
> Perhaps it's just a theoretical question, but I was just wondering... what's the difference between creating a branch or checkout from a subversion repository and using svn-import?

svn-import imports all branches in a repository. bzr branch just
imports a single branch (e.g. trunk, branches/foo or whatever you
specify).

Cheers,

Jelmer

Revision history for this message
felipelavinz (felipe-lavin) said :
#2

Thanks for your answer!

If the svn repository it's not organized in trunk+tags+branches, they would be equivalent?

Revision history for this message
Jelmer Vernooij (jelmer) said :
#3

yep

Revision history for this message
felipelavinz (felipe-lavin) said :
#4

Thanks Jelmer Vernooij, that solved my question.