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

Re: [rfc/patch] : #933,#735 import syntax, mkdir -p

From: David Kimdon <dwhedon_at_debian.org>
Date: 2003-06-02 15:47:20 CEST

On Mon, Jun 02, 2003 at 11:43:04AM +0200, Robert Pluim wrote:
> > Parent directories in URL are created as necessary. Testsuite and
> > documentation updated as well.
>
> Hmm, what happens if I do 'svn import foo/bar file://somewhere/repo/'?
> Do we end up with 'file://somewhere/repo/foo/bar'?

No. URL is used to set the location in the repository. PATH is used
to find the directory tree to import on the local (non-subversion)
filesystem.

$ ls foo/bar
README
$

'svn import foo/bar file:///somewhere/repos' will create
'file:///somewhere/repos/README'

'svn import foo/bar file:///somewhere/repos/foo/bar' will create
'file:///somewhere/repos/foo/bar/README'

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 2 15:48:53 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.