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

Re: Importing over existing directory

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-06-24 18:45:59 CEST

martin@v.loewis.de (Martin v. Löwis) writes:

> I have a directory tree that I want to import on top of an existing
> directory. IOW, I run
>
> svn import <repo> foo foo
>
> In the repository, <repo>/foo already exists but is an empty
> directory.
>
> How can I import the directory tree?

You can't. The subversion repository filesystem doesn't allow you to
copy directories on top of existing ones.

You copy a directories contents *into* an existing directory,
though. I imagine you can

  $ cd foo
  $ svn import . http://host/repos/foo

That should work, especially if foo is empty.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 24 20:48:06 2003

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

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