Re: patchsets
From: Greg Stein <gstein_at_lyra.org>
Date: 2002-10-14 23:40:31 CEST
On Mon, Oct 14, 2002 at 11:37:44AM -0400, Neal D. Becker wrote:
At some point, the developer(s) identified a particular change or set of
In Subversion, there is a (potentially) many-to-many relationship between
The problem then becomes how to organize a set of revisions into a patchset,
As Noal stated, you could use a task branch to organize revisions into a
As an example, let's say that you've been working on the trunk for the past
Patchset "rip-the-VM" is revisions 57, 61, 62, 63, and 74
Since you were silly and didn't do these on task branches to start with, you
[ note: none of these have been tested or the syntax verified; use them as
$ svn cp -r 56 http://svn.example.com/repos/trunk/ \
You can then check that out, or switch a working copy over to it:
$ cd .../trunk
Now you want to merge the five changes in:
$ svn merge -r56:57 http://svn.example.com/repos/trunk
Then commit this work back:
$ svn commit -m "integrate the patchset"
The next part is creating the patchset. Note that you could skip the commit,
$ svn diff > rip-the-VM.patch
Unlike BK, Subversion does not have a builtin mechanism for shipping patches
But the basic point is that you can build and maintain patchsets with
Cheers,
-- Greg Stein, http://www.lyra.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Mon Oct 14 23:38:52 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.