[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Re: .svnignore functionality

From: <kfogel_at_collab.net>
Date: 2001-10-22 17:46:05 CEST

Greg Stein <gstein@lyra.org> writes:
> And non-programmers are the *last* people to put a newline into their
> filenames. I can't even begin to think how a non-programmer would do such a
> thing.
>
> Have you *ever* seen such a file? I sure haven't seen one in the twenty some
> years I've been looking at filenames. Not even an accidental one. I did just
> verify that it is possible (had to go into the Python cmdline to do it), but
> seen one out in the wild? Nope.

Oh -- I might be misunderstanding some of the things I see on Windows
machines. I see what look like lots of newlines in Windows filenames
(right under the icons, you know?), but perhaps that's just due to
autofilling. Come to think of it, it must be, because when you hit
return, it "accepts" the filename, rather than inserting a newline.

So are newlines in filenames really rare, even on non-Unix systems,
then?

> Set your policy however :-) ... I'm just voting. And mine is a big +1 on not
> supporting newlines in filenames.
>
> It isn't possible to veto a concept -- only code. But if the code to support
> newlines is hairy... well :-)

;-)

Well, the difference is that if the project has a *policy* of not
supporting newlines in filenames, then we probably wouldn't even take
a contributed patch to support it. Whereas if we just never got
around to writing the code to support it, and then someone did write
the code, we'd take it and close an issue.

> Do you want to do all the work and maintain the stuff into the future? And
> for what benefit? So we can *theoretically* support a case which nobody will
> *actually* use?

If it's never going to be used, then I don't see any point having the
extra complexity. It's the first part I don't know about (though it
sounds like you do). If this is really a way out-there edge case,
then yes, let's forget about it.

Anyone out there use newlines in filenames? :-)

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:45 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.