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

Subdirectory not created in the respository as expected?

From: Alexander Lamb <Alexander.J.Lamb_at_sim.hcuge.ch>
Date: 2004-07-27 12:24:41 CEST

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

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.

8.
It does the import without complaining.... but failed to import in a
TestData subdirectory and therefore when I do a list of the repository,
here is what I get:

($:~)-> svn list --verbose file:///Users/alamb/svn/
       2 alamb 1942 Jul 27 12:12 CAU_1-Pat.txt
       2 alamb 1446 Jul 27 12:12 CAU_1-Pat.txt.OLD
       2 alamb 3236 Jul 27 12:12 CAU_2-Motif.txt
       2 alamb 335 Jul 27 12:12 CAU_3_Lieux.txt
       2 alamb 8653 Jul 27 12:12 CAU_4-Event.txt
       2 alamb 2037 Jul 27 12:12 CAU_4-Event.txt.OLD
       2 alamb 1289 Jul 27 12:12 CAU_4-Event_OLD.txt
       1 alamb Jul 27 09:57 TBClient/
       1 alamb Jul 27 09:57 TBTestServer/
       2 alamb 64512 Jul 27 12:12 _CAU_TB_Simulation.xls

I see the two initial projects and all the files of the third project
at the root level??? Why!
Why didn't it create a TestData directory?

Here is my last import statement:

($:~)-> svn import ./Projets/TB/tmp/Test_Data/ file:///Users/alamb/svn
-m "initial import"
Adding Projets/TB/tmp/Test_Data/CAU_2-Motif.txt
Adding (bin) Projets/TB/tmp/Test_Data/_CAU_TB_Simulation.xls
Adding Projets/TB/tmp/Test_Data/CAU_1-Pat.txt.OLD
Adding Projets/TB/tmp/Test_Data/CAU_4-Event.txt.OLD
Adding Projets/TB/tmp/Test_Data/CAU_4-Event_OLD.txt
Adding Projets/TB/tmp/Test_Data/CAU_1-Pat.txt
Adding Projets/TB/tmp/Test_Data/CAU_4-Event.txt
Adding Projets/TB/tmp/Test_Data/CAU_3_Lieux.txt

Thanks,

Alex

--
Alexander Lamb
Service d'Informatique Médicale
Hôpitaux Universitaires de Genève
Prof. 022 372 88 62
Portable 079 420 79 73
---------------------------------------------------------------------
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:25:13 2004

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