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

RE: Subdirectory not created in the respository as expected?

From: Patrick Smears <patrick.smears_at_ensoft.co.uk>
Date: 2004-07-27 12:35:08 CEST

> -----Original Message-----
> From: Alexander Lamb [mailto:Alexander.J.Lamb@sim.hcuge.ch]
> Sent: 27 July 2004 11:25
> To: users@subversion.tigris.org
> Subject: Subdirectory not created in the respository as expected?
>
>
> Hello,
>
> Sorry for a probably dumb question... I did read the manual but one
> thing is not clear:
>
> 1. I am using MacOSX and svn version 1.1
>
> 2. I created a repository ( /Users/alamb/svn)
>
> 3.
> I created a nice hierarchy with two projects (TBClient and
> TBTestServer) in a tmp directory. They both contain (as suggested in
> the documentation) branches tags and trunk. In trunk I have all the
> files of my project.
>
> 4.
> I cd into that tmp directory and do a svn import .
> file:///Users/alamb/svn m- "intial import"
>
> 5.
> Every looks fine and when I do a svn list --verbose
> file:///Users/alamb/svn I see my two projects TBClient and
> TBTestServer

In this case, I assume you've done the "svn import ." from the directory
*above* the project directory... so the content of the directory "." gets
imported at the root of the repository.

> 6.
> At that point, ok, I thought I would add a third project.
> I create another directory for my project ( TestData ) also under tmp
> (but without branches, tags and trunk, but I guess it is not
> important
> for my current problem)
>
> 7.
> I do a svn import /Users/alamb/TB/tmp/TestData
> file:///Users/alamb/svn
> -m "initial import" (since I don't need to import the two previous
> projects which are correctly in svn.

Here it looks like you've done "svn import TestData", so the content of the
directory "TestData" gets imported at the root of the repository. You either
need to remove "TestData" from the end of the first path, or add it to the
end of the file://... URL.

Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 27 12:35:44 2004

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