Dear Wiki user, You have subscribed to a wiki page or wiki category on "Subversion Wiki" for change notification.
The "MergeBugsAndErrorReporting" page has been changed by JulianFoad: http://wiki.apache.org/subversion/MergeBugsAndErrorReporting?action=diff&rev1=5&rev2=6 * This error needs a higher-level message: - {{{ + {{{ $ svn merge -r1181882:1177606 ^/trunk /.../subversion/svn/util.c:913: (apr_err=160013) /.../subversion/libsvn_client/merge.c:11057: (apr_err=160013) @@ -20, +20 @@ * The message about recording mergeinfo at the end of a catch-up merge seems to report the wrong starting revision: - {{{ + {{{ $ svn merge ^/subversion/trunk --- Merging r1182861 through r1186071 into '.': U Makefile.in @@ -35, +35 @@ /subversion/trunk:1177607-1186071 }}} + * The short description of '--ignore-ancestry' should mention that it disables merge tracking. The help for the 'merge' command already does, right at the end of a very long description. + + {{{ + $ svn help merge + [...] + The --ignore-ancestry option prevents merge tracking and thus + ignores mergeinfo, neither considering it nor recording it. + + Valid options: + [...] + --ignore-ancestry : ignore ancestry when calculating merges + }}} + + * Inconsistent interpretation of merge source when given as a WC path. It looks for the working-version path in the copy-from rev. + + {{{ + $ svn cp ../subversion-p/COMMITTERS@1100000 ../subversion-p/tools/f + A tools/f + $ svn merge tools/f + svn: E160013: '/repos/asf/!svn/rvr/1100000/subversion/trunk/tools/f' path not found + }}} + + Options: + * Refuse to use the working version of a WC tree with local mods. When there are no local mods, the working version is the same as the base version so it doesn't matter that the user implicitly specifies the working version while we require the base version. + * Follow the specified working version properly and use the working version (including its local mods) as the upper limit. + * [Bad] Look for the copied-from path in the copied-from rev and use that as the upper limit. + * [Bad] Use the base version rather than the working version of the specified path, even though the user implicitly referred to the working version. + + * Simple merge command (with or without --ignore-ancestry) tries to merge from own branch. Should refuse. + + {{{ + $ svn merge COMMITTERS + $ svn merge subversion/svn_private_config.hw + svn: E160013: '/repos/asf/!svn/rvr/850153/subversion/trunk/subversion/svn_private_config.hw' path not found + $ svn merge --ignore-ancestry COMMITTERS + --- Merging r842828 through r1190217 into 'COMMITTERS': + G COMMITTERS + $ svn merge --ignore-ancestry subversion/svn_private_config.hw + Conflict discovered in '/home/julianfoad/src/subversion-d/subversion/svn_private_config.hw'. + Select: [...]: mf + --- Merging r838469 through r850123 into 'subversion/svn_private_config.hw': + UG subversion/svn_private_config.hw + $ svn st COMMITTERS subversion/svn_private_config.hw + }}} + + * Simple merge command with a WC source path selects a target path that is not ".". The help says the default target is ".". + + {{{ + $ svn merge --ignore-ancestry ../subversion-g/COMMITTERS + --- Merging r842828 through r1177606 into '/home/julianfoad/src/subversion-g/COMMITTERS': + [...] + }}} +
