[issue671] Get "abort: '\n' and '\r' disallowed in filenames" on "hg add"

Andrew P. Lentvorski, Jr. mercurial-bugs at selenic.com
Tue Aug 7 19:51:49 CDT 2007


New submission from Andrew P. Lentvorski, Jr. <bsder at allcaps.org>:

I got the following error on doing an "hg add"

abort: '\n' and '\r' disallowed in filenames

This is on OS X Intel with Mercurial 0.9.4 with Python 2.3.5.

Where does it come from?  Is this a Python or a Mercurial limitation?

Now, I was a bit surprised to find a '\n' or '\r' in my filename (it was
installed by another program).

However, I see no a priori reason to exclude those characters if the underlying
filesystem allows them.

----------
messages: 3731
nosy: bsder
priority: bug
status: unread
title: Get "abort: '\n' and '\r' disallowed in filenames" on "hg add"

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



More information about the Mercurial-devel mailing list