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

Re: Cant get modules to work?

From: Peter Davis <peter_at_pdavis.cx>
Date: 2002-10-25 19:32:27 CEST

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

On Friday 25 October 2002 09:06, Kent Karlsson wrote:
> How do I get /test2 to become /test1/Applications/RemoteApplication and
> /test3 to /test1/Components/RemoteComponent in the repository. So that
> when person B checks out test1 he will get all the files.
>
> When I tried to use svn co http://marvin:8080/test3 RemoteComponent I

This is a perfect example of when to use svn:externals (see the handbook for a
complete description). Basically, you want to do:

$ svn pset svn:externals "RemoteApplication http://marvin:8080/test2"
/path/to/test1/Applications

$ svn pset svn:externals "RemoteComponent http://marvin:8080/test3"
/path/to/test1/Components

(Both commands should each be on one line -- they got wrapped by the email)

When you set svn:externals on a directory, it will take the first token in the
value ("RemoteApplication" or "RemoteComponent", respectively), create a
subdirectory with that name, and check out the URL into that directory.

This doesn't actually import the contents of the URL into the current
repository. All it does is make "svn co" or "svn up" check out the second
URL as well; all three repositories in your case will remain separate.

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

iD8DBQE9uYAuhDAgUT1yirARAoeXAJwJKRPz5Y6fqlI5XKuZUlSRNgtnNgCgg8Zh
RMUM+63YWKgCifHeHHb2mqg=
=Ivt0
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 25 19:33:16 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.