monotone - Bugs: bug #12594, [NEED TEST] \r and \n not allowed...
You are not allowed to post comments on this tracker with your current authentication level.
bug #12594: [NEED TEST] \r and \n not allowed in file names
Submitter: | None | ||
Submitted: | Thu 07 Apr 2005 04:39:43 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | incorrect behavior | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open | ||
mtn version --full: | picard:~/Documents davel$ monotone --full-version
|
Fri 08 Apr 2005 10:00:26 PM UTC, comment #2: |
Jon Bright <sircus> |
Thu 07 Apr 2005 10:24:09 PM UTC, comment #1: Your problem is actually that the filename contains a carriage return (\r, ascii byte 13, as it says above). Currently, \r and \n are not allowed in filenames.
|
Nathaniel Smith <njs> |
Thu 07 Apr 2005 04:39:43 PM UTC, original submission:
While trying to import my Documents folder into a monotone database I hit this error:
|
Anonymous |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2005-04-07 | langedb | Carbon-Copy | - | Added -email is unavailable- | |
2005-04-07 | njs | Summary | unable to handle whitespace as the final character in a file name | [NEED TEST] \r and \n not allowed in file names |
Powered by Savane 3.13-4448.
Corresponding source code
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.