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

Re: Newlines in svn:author

From: <pmarek_at_users.sourceforge.net>
Date: 2003-07-17 12:02:13 CEST

> Ok, I just saw the reference to #1401. Stripping the newline(s) at the
> end of the propval like pmarek suggests makes sense in a way.
>
> AFAICT, this commit will error when svn:author contains a newline
> (even at the end). And --force will dismiss the check and commit
> the propval as is.
>
> Is this the desired behaviour?
From my point of view - no.
It still prohibits simple "svn pe svn:author" - I suggested *removing* a final
newline, at least for a defined set of properties; taking a newline away in
all properties will lead to messages like "missing newline at end of line",
"line not terminated", etc. in some programs.

And if I remember to add the "--force" - "svn log" will be garbled.
So there's no correct way to edit svn:author with a texteditor, which puts a
newline at the end of lines.

I'd prefer to have the (last) newline stripped off per default, and by using
--force the message will be taken as-is.

Regards,

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 17 12:03:50 2003

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.