[issue3286] convert fails with blank lines in branchmap

A. Budden bugs at mercurial.selenic.com
Mon Feb 27 04:54:31 CST 2012

New submission from A. Budden <abudden+MERCURIAL at gmail.com>:

If there are blank lines at the end of a branch map file, convert aborts
with an error message.  I would expect it to ignore these blank lines.

$ bzr init tb
Created a standalone tree (format: 2a)
$ echo -ne "trunk default\n\n" > bm
$ hg convert --branchmap bm tb tm
initializing destination tm repository
abort: syntax error in bm(2): key/value pair expected

messages: 19181
nosy: abudden
priority: bug
status: unread
title: convert fails with blank lines in branchmap

Mercurial issue tracker <bugs at mercurial.selenic.com>

More information about the Mercurial-devel mailing list