Jens Restemeier created SVN-4686:
------------------------------------

             Summary: "Unable to parse reversed revision range '19634-19631'"
                 Key: SVN-4686
                 URL: https://issues.apache.org/jira/browse/SVN-4686
             Project: Subversion
          Issue Type: Bug
          Components: cmdline client
    Affects Versions: 1.9.5
         Environment: Windows 8.1 + TortoiseSVN 1.9.5
Debian Linux + Subversion 1.9.5
            Reporter: Jens Restemeier


I'm trying to catch up a branch with the changes on trunk.

The command line is:
svn merge ^/trunk

Updating records only shows the same problem:
svn merge ^/trunk --record-only 

Running a dry run doesn't show the problem:
svn merge ^/trunk --dry-run 

It seems to update the correct files, though at the end it fails with

"Unable to parse reversed revision range '19634-19631'"

Digging into the source of the svn client this seems to be caused by the 
svn_rangelist_merge2 function that adds changes into rangelist when updating 
the merged mergeinfo on the root directory:

Input rangelist: 
15014-19472,19473-19612*,19613-19614,19615-19630*,19631-19634,19635-20055*
Input Changes: 15014-20515*
Output rangelist: 
15014-19472,19473-19612*,19613-19614,19615-19630*,19634-19631*,19631-19634,19635-20515*

This happens inside the adjust_remaining_ranges function which seems to insert 
a new range into the wrong position, causing next_range to start before 
modified_range.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to