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

RE: automatically updating a branch

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-03-25 00:09:56 CET

> From: allan juul [mailto:allan@muly.dk]
> everytime we built and deploy our Mainline branch to our production
> machines we will automatically need to update the Maintain branch to
> consist of an exact snapshot of that Mainline branch just deployed.

If you *never* make any changes to the Maintain branch other than to update
it to match the Mainline at a particular moment, then the easiest method is
to consider Maintain to be a resetable tag -- svn delete
http://.../Maintain; svn copy http://.../Mainline http://.../Maintain. That
actually does maintain the log history because Subversion records that rev
40 of Maintain is a copy of rev 38 of Mainline, which is a changed version
of rev 36 of Mainline, etc.

But if you expect to make minor changes to the Maintain branch, then you
really should set up a "vendor branch" structure as described in the
Subversion book. It looks like a lot of work, but anything simpler gets
confused by one or another normal maintenance activity.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 25 00:13:49 2005

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.