[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: in place import

From: John Szakmeister <john_at_szakmeister.net>
Date: 2004-01-08 12:57:52 CET

On Thursday 08 January 2004 06:46, Kai Hendry wrote:
> I would like to do an in place import :
> http://subversion.tigris.org/project_faq.html#in-place-import
> But without have to create empty repo beforehand. Or is svnadmin clever
> enough to create a new node if I:
> svnadmin create file:///home/fs/hendry/repo/etc
> I don't think so...

You're doing something a little different here. Import is only generally done
once when you're bringing in a new project in a new repository. It looks
like you want to bring another directory into your repository, and bring it
under version control. The best thing to do here is something like this:

  svn mkdir file:///home/fs/hendry/repo/etc
  svn co file:///home/fs/hendry/repo/etc /etc
  svn add /etc
  svn commit /etc

> I was little confused when I first:
> svn co file:///home/fs/hendry/repo/ etc
> To see the entire repo come down into /etc, you see. :)

That's what happened because that's what you told it to do. :-)

> I expected something like this to work:
> hendry_at_bogrund-14:~/backup$ svn co file:///home/fs/hendry/repo/etc /etc
> svn: Bad URL passed to RA layer
> svn: Source URL doesn't exist: file:///home/fs/hendry/repo/etc.

Try doing what I listed up above and see if that works for your case.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 8 13:03:10 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.