Josh Elser 2012-09-09, 22:49
-Re: Merging from 1.4 to trunk
Christopher Tubbs 2012-09-09, 22:02
I would say that it'd be nice if all changes in older branches were
also merged to newer branches... this keeps things linear, and helps
ensure no bug regressions (because all fixes in older versions can be
merged to newer versions, even if they don't apply). So, I would say
yes, the entire tree should be merged... for documentation purposes at
least. This means you might want to merge branch/src/core to
trunk/core, and then do a superficial merge (resolve conflicts, revert
changes, commit merge metadata only) from branch/ to trunk/ to ensure
the whole tree is documented as merged (assuming it was previously
fully merged before your changes).
On Sun, Sep 9, 2012 at 6:49 PM, Josh Elser <[EMAIL PROTECTED]> wrote:
> Right, I wasn't sure if there was guidance as to whether one should always
> make sure the entire tree is merged, or if merging of single changes is
> acceptable (assuming someone else will come by later and make sure dangling
> fixes aren't left in 1.4).
> On 09/09/2012 04:44 PM, Christopher Tubbs wrote:
>> It seems to me that you can merge directly from branch/src/core to
>> trunk/core, or from branch/src/server to trunk/server. That, of
>> course, assumes you're only merging changes isolated to a single
>> submodule that was previously in src/
>> On Sun, Sep 9, 2012 at 6:04 PM, Josh Elser<[EMAIL PROTECTED]> wrote:
>>> Looking back at my dev@accumulo history, Billie gave some guidance on how
>>> make subversion place nicely with the change from /src/$module to
>>> between 1.4 and trunk. http://accumulo.apache.org/source.html says to
>>> consult dev@accumulo for instructions.
>>> Is Billie's guidance below still the best way to get around this?
>>> resolving the conflicts every time seems like a pain, but if that's how
>>> is, so be it.
>>> -------- Original Message --------
>>> Subject: Re: That extra 'src'
>>> Date: Tue, 20 Mar 2012 17:22:39 +0000 (GMT+00:00)
>>> From: Billie J Rinaldi<[EMAIL PROTECTED]>
>>> Reply-To: [EMAIL PROTECTED]
>>> To: [EMAIL PROTECTED]
>>> I figured out a way to do this with two merges. First, merge all
>>> from 1.4 to trunk; then take the list of revisions merged and merge those
>>> from 1.4/src to trunk.
>>> $ svn merge -r 1:HEAD
>>> https://svn.apache.org/repos/asf/incubator/accumulo/branches/1.4 .
>>> --- Merging r1302469 through r1302913 into '.':
>>> C src/examples
>>> Summary of conflicts:
>>> Tree conflicts: 1
>>> $ svn merge -r 1302469:1302913
>>> https://svn.apache.org/repos/asf/incubator/accumulo/branches/1.4/src .
>>> --- Merging r1302470 through r1302913 into '.':
>>> U examples/simple/pom.xml
>>> U examples/wikisearch/README
>>> Now I just have to resolve the tree conflict. Note that this works
>>> we made a relatively simple change of removing a directory; if we had
>>> more things around, we would need to use more merge commands.
>>> ----- Original Message -----
>>>> From: "Keith Turner"<[EMAIL PROTECTED]>
>>>> To: [EMAIL PROTECTED]
>>>> Sent: Thursday, March 15, 2012 11:09:36 AM