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

Re: Subversion vs. CVS - Sticky Tags

From: Andreas Pakulat <apaku_at_gmx.de>
Date: 2006-07-05 20:39:35 CEST

On 05.07.06 16:28:17, Aho Thomas Rolf wrote:
> I do not see how I can do this in Subversion. It seems to me that I am
> forced to branch
> all files, and do a merge in order to get the newer versions of
> "common1" and "common2".
> The drawback with this is that I need to keep in mind that "special" is
> the only file

What you're looking for is svn:externals, however I'm not sure wether it
works on simple files. It allows definetly works on directories, i.e.
you have

workspace
  |
  - common
  |
  - some source file

and in common is everything that is common to a couple of your projects.
Now when you do an initial checkout of project1 you automatically get
common and in it the latest from the url that it points to.

Also any svn update on the workspace updates common. Checkins need to be
done explicitly from inside common, so commits you do on the workspace
only commit the files that are outside common.

Andreas

-- 
You have an ambitious nature and may make a name for yourself.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 5 20:41:12 2006

This is an archived mail posted to the Subversion Users mailing list.