[Bug 5910] New: Convert doesn't correctly parse branchmap.txt files

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Wed Jun 6 12:06:10 UTC 2018


https://bz.mercurial-scm.org/show_bug.cgi?id=5910

            Bug ID: 5910
           Summary: Convert doesn't correctly parse branchmap.txt files
           Product: Mercurial
           Version: 4.6
          Hardware: Macintosh
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: convert
          Assignee: bugzilla at mercurial-scm.org
          Reporter: bruno at filigree.tech
                CC: durin42 at gmail.com, mercurial-devel at mercurial-scm.org

When running hg convert with a file passed to --branchmap, it doesn't work if
the entries on a line are separated by more than one character of white space. 

Stages to reproduce, 

** create a branch map file where there is more than one character of
whitespace between the branch name and 'default'
"mybranchtoelide             default"
** run the command hg covert --branchmap branchmap.txt oldRep newRepo
** find that 'mybranchtoelide' has not been elided

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list