Menu

#136 examples for external merge use the wrong argument order for mine and theirs arguments

en-1.6
Fixed
nobody
None
Medium
Defect
2011-07-26
2011-07-21
Anonymous
No

Originally created by: tstev...@gmail.com
Originally owned by: cmpilato

Please describe the problem you found.  Try to avoid referring to "page
numbers", as those are subject to change over time.  If you need to, quote
the book paragraph(s) that are incorrect, and recommend corrections.

The examples 7.6 "mergewrap.py" and 7.7 "mergewrap.bat" use the wrong argument order for the "paths provided by Subversion."  The MINE and THEIRS arguments are reversed.  The routine svn_cl__merge_file_externally in svn/util.c from 1.6.17 and the current version [r1140729] use a different order:

        arguments[0] = merge_tool;
        arguments[1] = base_path;
        arguments[2] = their_path;
        arguments[3] = my_path;
        arguments[4] = merged_path;
        arguments[5] = wc_path;
        arguments[6] = NUL

Discussion

  • Anonymous

    Anonymous - 2011-07-21

    Originally posted by: cmpilato

    Doh!  Thanks for catching and reporting this!

    Labels: Milestone-en-1.6
    Owner: cmpilato

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.