[svk-users] How to initialise an svn repo from a local svk repo

Michael Brouwer mb.7766 at gmail.com
Thu Sep 27 13:53:40 EDT 2007


svk rm //local/repo

will drop it.

Michael


On 9/24/07, David Landgren <david at landgren.net> wrote:
> Matthew Draper wrote:
> > Hi!
> >
> >> I was working off-line, and needed to create a repository before the
> >> master svn repo existed. I'm not sure how to bootstrap the svn repo with
> >> the contents of the svk repo.
> >>
> >> I have the SVN repo:
> >>
> >> david at slothrop:~% svk pl -v svn://svn.mongueurs.net/WWW-Velib/trunk
> >> Properties on //mirror/WWW-Velib:
> >>    svm:source: svn://svn.mongueurs.net/WWW-Velib!/trunk
> >>    svm:uuid: cee75267-3469-dc11-a765-00306e02d86a
> >>
> >> and it is mirrored locally
> >> david at slothrop:~% svk pl -v //mirror/WWW-Velib
> >> Properties on //mirror/WWW-Velib:
> >>    svm:source: svn://svn.mongueurs.net/WWW-Velib!/trunk
> >>    svm:uuid: cee75267-3469-dc11-a765-00306e02d86a
> >>
> >> But the propert list for //local/WWW-Velib is empty. So I assume I have
> >> set up the two properties, and perhaps something for svk:merge:.
> >
> > The short answer is smerge --baseless.
>
> Nifty, that did the trick.
>
> > Once you've done that, however, push and pull won't work, because they
> > depend on the copy source. I believe Jesse was looking at providing a
> > way to override that a while ago, but don't know how far he got.
> >
> > Other than that, the simplest way to get push and pull working is to
> > remove and re-copy your local branch after the merge.
>
> I can live with that. To copy, it's just svk cp //mirror/repo
> //local/repo. But I'm a bit unsure about how to drop //local/repo. What
> is the exact command? I looked at svk commands help and svk admin help
> but nothing leaps out from me.
>
> Thanks for your help,
> David
>
>
> _______________________________________________
> svk-users mailing list
> svk-users at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/svk-users
>


More information about the svk-users mailing list