Changes between Version 1 and Version 2 of SvnMerging


Ignore:
Timestamp:
01/17/07 21:46:56 (17 years ago)
Author:
csherwood
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SvnMerging

    v1 v2  
    33 * '''Why merge?''' Merging one way or another is the only way to combine two different versions of the code. It can be done manually or using the svn merge command.
    44
    5  * '''Manually is probably best.''' Use svn or Winmerge to check for modifications, but combine files using hand edits, ideally with a tool like Winmerge or Emacs.
     5 * '''Subversion is not smart.''' svn only compares text changes within segments of files. If there is no apparent conflict, it will perform the merge. It does not, and cannot, understand changes that are related to logical changes (for example, changes to the meaning of a variable, or the type of a variable that is declared somewhere else.
     6
     7 * '''Manually is usually best.''' Use svn or Winmerge to check for modifications, but combine files using hand edits, ideally with a tool like Winmerge or Emacs.
    68
    79 * '''Sometimes automatic is more appropriate.''' For example, if you want to add the new copyright statements and reference to licence.txt into every file in your branch, like the trunk does now, and you have otherwise not changed much in your branch, it is ''way'' quicker to use svn merge.
    810
    9  * '''Svn merge is not what you think.''' The syntax is not intuiti
     11 * '''Svn merge is not what you think.''' The syntax is not intuitive...in particular, the
     12{{{
     13From:
     14}}}
     15 and {{{
     16To:
     17}}} sections of the GUI do not mean what you think. '''Both''' refer to the code ''from which'' you will get your changes. The code ''to which'' your changes will be made (pending any conflicts) is the working copy...determined by context (where you did the right-click) in the GUI.