Import existing SVN repos

1,147 views
Skip to first unread message

soudmaijer

unread,
Jul 29, 2011, 3:19:46 AM7/29/11
to scmmanager
Hi,

first of all, a great tool SCM manager!

We want to use it to manage our existing svn repos, but we have a lot
of them ;-) I want to import the entire svn repository directory to
SCM Manager but I`m facing some issues. When I add our svn parent
directory I do not see the repositories in SCM Manager. Only when I
create a repo using SCM Manager it shows up.

Please advice.

Kind regards, Stephan

Sebastian Sdorra

unread,
Jul 29, 2011, 7:16:17 AM7/29/11
to scmma...@googlegroups.com
Hi,
The SCM-Manager stores the repository information's in a xml file
(repositories.xml), that is why you do not see your repositories. You
have to create the repositories with the web-interface or the with the
cli-client (https://bitbucket.org/sdorra/scm-manager/wiki/command-line-client).
You should export your old repositories with "svnadmin dumb" and
import them with "svnadmin load". Have a look at
https://groups.google.com/d/msg/scmmanager/4rTkJJeuYMA/edXcUou9klMJ .
If there are too many repositories, you could script this process.

Sebastian

2011/7/29 soudmaijer <soudm...@gmail.com>:

soudmaijer

unread,
Aug 1, 2011, 10:05:20 AM8/1/11
to scmmanager
Thanks for the answer, I will check it out. The command-line option
looks good!

Craig Sparks

unread,
Aug 1, 2011, 2:20:22 PM8/1/11
to scmma...@googlegroups.com
Hey stephan. The SCM repos config is located inside a xml file in your
installation directory. /home/{username}/.scm/config/repositories.xml

or /root/.scm/config/repositories.xml

Hope that helps

Jackie Craig Sparks
Focus on Solutions not Problems

repositories


> Please advice.
>
> Kind regards, Stephan

--
-
Jackie *"Craig"* Sparks - *"Focus on Solutions not Problems"*
Email0: Jackie.Cr...@gmail.com

http://chunkhost.com/r/getachunk - Support my VPS host sign up now
http://www.sparkscomm.com
http://sparkscomm.com/wordpress/resume
http://www.facebook.com/profile.php?ref=profile&id=100000140654932
https://www.scriptlance.com/cgi-bin/freelancers/feedback.cgi?p=rwtskraps
http://twitter.com/#!/skraps_foo
http://skraps.pastebin.com

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.10 (GNU/Linux)

mQINBE1k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QrZcs0uBhUX3HDhx0eFQtGPEyZl/77e554DDJ3MQUCGeGmFSO
w1/7p3lDCAIGtIr4sSLUUyQn7h0RbfFZwBwzZrh9nMmDbhWibJurul3/kQARAQAB
iQIfBBgBAgAJBQJNZCeWAhsMAAoJEN3TA3S+FcwAUf8P/2zUCvOOX0viuC3nI0ZR
3bXWBobv5Fs0Fb3A6O8DVzXLsNsC3WoHdvqRlxHT4fHuKuDAjOj3XHsqntKe+omC
PXSIrHGsKK3va3FnLSRMUqQ45zTXc2rNRW+FYMr0EsIAeBcWK17DbfSBuVJxUx0I
Hs9AgJZ+w+YBcNnp0/gKyN7EjETdJJUo2t2zNv7FEf/hLIBFddYL2clxrlRlD+aR
5eQ/BNIJOu+T8jENb3zdbee+aC9ZJ5waFlDSBirFwsDOdJHTxXwZ1fb9YlQBmTNI
mERLlI2VBIV5FdANpnsm9kczJiQGLZajfgylEglwJ3TSo4x1CM9Kwmo1XDK39ZV4
7rurtx5/Pzukd9Kyy6v3BLUkA8toE4U3y9TeHCQcC8IfjEJU8qMu1t0H++Yl0ikN
sRpY1vfsEVv9txuKVQxXPxD6nZMe8Edhn5SMRtbe2XmM1NKT8WLvjNmd1wWWP6+E
Ucx5/kcvxlPmDmmdLqUpTrRcTfs5iwKf3TiQyl4eFNXZs4tXy/Bv5JFTSx5l5PSD
nBitamN/G+rYoYmdAvwiW3Cnf2LdYWYH2V3wNeTd1vthg3AeQPB9rhLbvtsjwmIP
lZETXNjsVlJRB595j9vDfy8qiUzg93OO3pdKRzr1cxWyyt6uNzGiOPTJiN02lp6a
VPd1isDqohZq35dMK3SYoOzH
=NjkE
-----END PGP PUBLIC KEY BLOCK-----

soudmaijer

unread,
Aug 9, 2011, 10:03:29 AM8/9/11
to scmmanager
Hi Jackie,

thanks for the reply. I managed to add them by hand. But it would be a
nice feature to be able to import the svn repo's via the admin
interface. Just scan the repo dir for existing repositories.

Kind regards,

Stephan Oudmaijer

On 1 aug, 20:20, Craig Sparks <jackie.craig.spa...@gmail.com> wrote:
> Hey stephan. The SCM repos config is located inside a xml file in your
> installation directory. /home/{username}/.scm/config/repositories.xml
>
> or /root/.scm/config/repositories.xml
>
> Hope that helps
>
> Jackie Craig Sparks
> Focus on Solutions not Problems
>
>
>
> On Fri, Jul 29, 2011 at 3:19 AM, soudmaijer <soudmai...@gmail.com> wrote:
> > Hi,
>
> > first of all, a great tool SCM manager!
>
> > We want to use it to manage our existing svn repos, but we have a lot
> > of them ;-) I want to import the entire svn repository directory to
> > SCM Manager but I`m facing some issues. When I add our svn parent
> > directory I do not see the repositories in SCM Manager. Only when I
> > create a repo using SCM Manager it shows up.
> repositories
> > Please advice.
>
> > Kind regards, Stephan
>
> --
> -
> Jackie *"Craig"* Sparks - *"Focus on Solutions not Problems"*
> Email0: Jackie.Craig.Spa...@gmail.com
>
> http://chunkhost.com/r/getachunk- Support my VPS host sign up nowhttp://www.sparkscomm.comhttp://sparkscomm.com/wordpress/resumehttp://www.facebook.com/profile.php?ref=profile&id=100000140654932https://www.scriptlance.com/cgi-bin/freelancers/feedback.cgi?p=rwtskrapshttp://twitter.com/#!/skraps_foohttp://skraps.pastebin.com
Reply all
Reply to author
Forward
0 new messages