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

Re: svn copy practices.

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-11-20 20:19:53 CET

On Thu, 2003-11-20 at 12:54, Joseph Vigneau wrote:

> svn copy packages/servlet.jar proj1/lib/servlet.jar
> svn copy packages/servlet.jar proj2/lib/servlet.jar
>
> Would this create multiple copies of that servlet.jar file?

Yes.

> If not, what happens if I modify packages/servlet.jar? Would
> proj1/lib/servlet.jar and proj2/lib/servlet.jar still point to a single
> instance of the original servlet.jar file (sort of like a Unix "hard link")?
>

There is no user-visible 'hard link' behavior in the repository. No
such feature exists.

> I'd be interested to hear any other recommendations, too.

Put the jar file into a directory. Include the directory in all your
projects as an 'svn:external'. Read about externals in chapter 6.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 20 20:20:54 2003

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.