Re: branching several times a day (was Re: Sourcesafe user needs primer on branching source control)
From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-03-12 21:03:28 CET
Rob van Oostrum wrote:
Having just been using svk to do exactly this sort of thing, I can comment on
> - it destroys the integrity of the private branch.
Except that the private branch is not very helpful if the changes to the trunk
> - it duplicates changes over a multitude of branches.
As you said, drivespace is cheap. It is also the only way to truly distribute
For example, this was a recent round of changes using svk:
1. Get all of the master repository changes
2. Check to see that the master and local don't conflict
3. Actually perform the merge from trunk to local branch (if no conflicts)
3b. Conflicts require special handling
4. And finally update the local working copy
5. At this point, you can go in the other direction to promote your branch
If you want to get only the changes that occurred on the branch, you can do this:
$ svk diff //svn/trunk //svn/local/trunk > local.changes
and this diff will apply to the trunk cleanly, since you just synchronized with
HTH
John
-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Fri Mar 12 21:03:34 2004 |
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.