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

suggestion for 'svn import' behaviour

From: Pejvan BEIGUI <pejvan_at_online.fr>
Date: 2004-07-30 17:43:49 CEST

Hello All,

reading the manual of "svn import", I found this :
> Name
> svn import -- Recursively commit a copy of PATH to URL.
> svn import
> Synopsis
> svn import [PATH] URL
> Description
> Recursively commit a copy of PATH to URL. If PATH is omitted “.” is assumed. Parent directories are created in the repository as necessary.

well, it seems that if do the following command :

> svn import MacOSX_200-tome2 file:///Users/pejvan/Safe/subversion-repository/

I get this :
> svn list file:///Users/pejvan/Safe/subversion-repository/
> ch01-fr-UTF8.txt
> ch02-fr-UTF8.txt
> ch04-fr-UTF8.txt
> ch08-fr-UTF8.txt
> dvdod_maker/
> dvdod_schema/
> [...]

(for info :
$ ls MacOSX_200-tome2/
ch01-fr-UTF8.txt ch02-fr-UTF8.txt ch04-fr-UTF8.txt ch08-fr-UTF8.txt
)

while I thought I want to get this :
> svn list file:///Users/pejvan/Safe/subversion-repository/
> MacOSX_200-tome2/
> dvdod_maker/
> dvdod_schema/
> [...]

Which I get with the following command :
> svn import MacOSX_200-tome2 file:///Users/pejvan/Safe/subversion-repository/MacOSX_200-tome2
> Adding MacOSX_200-tome2/ch01-fr-UTF8.txt
> Adding MacOSX_200-tome2/ch02-fr-UTF8.txt
> Adding MacOSX_200-tome2/ch04-fr-UTF8.txt
> Adding MacOSX_200-tome2/ch08-fr-UTF8.txt

This seems to be the opposite behaviour of "Parent directories are
created in the repository as necessary.", which should automatically
create the "MacOSX_200-tome2" in the repository, right?

thanks,

Pejvan

-- 
Pejvan BEIGUI                                     pejvan@online.fr
Cet email comporte une signature electronique au format OpenPGP/MIME.
Pour votre propre sécurité, tout email semblant provenir de cette
adresse mais ne comportant pas de signature ou une signature
non-valide sera réputé falsifié.

Received on Fri Jul 30 17:45:09 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.