monotone

Issue 17: \r and \n not allowed in file names

Reported by Unknown User, Apr 7, 2005

(This entry was imported from the savannah tracker, original 
location: https://savannah.nongnu.org/bugs/index.php?12594)

While trying to import my Documents folder into a monotone database 
I hit this error:

monotone: misuse: bad character '13' in path component 'Icon ' of 
'Older Widgets/AirPort Signal.widget/Icon '

If I get rid of that widget for Konfabulator, it trips up on others 
with the same problem.  

monotone version:
-----------------
picard:~/Documents davel$ monotone --full-version
monotone 0.17 (base revision: 
337d62e5cbd50c36e2f2c2bda489a98de3a8aeb7)
Running on: Darwin 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 
14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC  Power 
Macintosh
Changes since base revision:

new_manifest [0152a0ae40734894b0a39501246cf4ffeada0aa4]

old_revision [337d62e5cbd50c36e2f2c2bda489a98de3a8aeb7]
old_manifest [0152a0ae40734894b0a39501246cf4ffeada0aa4]


  Generated from data cached in the distribution;
  further changes may have been made.

  Generated from data cached in the distribution;
  further changes may have been made.

  Generated from data cached in the distribution;
  further changes may have been made.

Comment 1 by Unknown User, Apr 9, 2005

Just after mentioning this, a test for filenames with a trailing 
space was added.  This doesn't work on Win32, where "foo 
bar" appears to be an equivalent filename to "foo bar 
".  This may be entirely unrelated to this bug, I'm only 
deducing a relationship from the IRC logs.

Either way, I figure we probably want to disallow files with 
trailing spaces if Win32 can't support them, or at least print a 
warning.

Comment 2 by Thomas Keller, Oct 10, 2010

Labels: Task:NeedTest
Summary: \r and \n not allowed in file names

Created: 14 years 4 months ago by Unknown User

Updated: 8 years 10 months ago

Status: New

Followed by: 1 person

Labels:
Type:Incorrect Behavior
Component:Other
Priority:Medium
Task:NeedTest

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status