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

Re: Making import syntax more consistant (Was Re: making repositories)

From: Peter Davis <peter_at_pdavis.cx>
Date: 2002-10-15 01:12:28 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 14 October 2002 14:33, Brent Burton wrote:
> But the results I was expecting (for whatever reason) were
> along the lines of
> tar cf - some/long/path | (cd ....; tar xf -)
> which recreates the some/long/path hierarchy under the .... location.

I'm not sure if this is what you were expecting or not, but just to be clear,
I don't think import should recreate the tree of the second argument in the
repository. Expanding on your other example:

$ svn import file:///path/to/repos graphics/bsp

would import ./graphics/bsp/* into the repository root. If you had
graphics/bsp/readme.txt, it would end up as file:///path/to/repos/readme.txt.
That's not the same as:

$ svn import file:///path/to/repos/graphics/bsp graphics/bsp

If you expect the results of the latter when specifying the former, then
consider if the second argument were not relative to the current working
directory, or if it began with "..". Import couldn't very well create files
under ".." of the repository root.

- --
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9q09chDAgUT1yirARAsgwAJwMWnlsxXxv1fOIb8CDDvjHR391DACgjL9v
Hen5AQmjsZCpRhUJukRMEWc=
=mL6f
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 15 01:15:11 2002

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.