[issue2472] hg convert doesn't work with branches that contain new lines in the name

Andrew M. bugs at mercurial.selenic.com
Wed Nov 3 03:50:24 UTC 2010


New submission from Andrew M. <andrew.myers1984 at gmail.com>:

Its possible to create branches with a newline character in the name. 

The problem is if you want to rename this using hg convert, it fails.

The problem is hg convert assumes the branch mappings will not contain a new 
line:

* http://bitbucket.org/mirror/mercurial/src/tip/hgext/convert/common.py#cl-365

----------
messages: 14275
nosy: andrewrm
priority: bug
status: unread
title: hg convert doesn't work with branches that contain new lines in the name

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2472>
____________________________________________________


More information about the Mercurial-devel mailing list