Re: RFC: null-terminated separators for rlog

"Jonathan Noack" <[email protected]>
Newsgroups gmane.comp.gnu.rcs
Message-ID <[email protected]>
Paul Eggert wrote:
> Jonathan Noack <[email protected]> writes:
>> Add an optional argument to rlog (tentatively '-n') that appends a null
>> character to the end of revision and file separators.
> 
> That sounds a bit extreme since the output wouldn't be text, but it
> would be nice to have some sort of quoting operator.

I'm trying to create a way that rlog can produce unambiguous output even 
when committers do silly things.  I chose to append a null character to 
make it as "committer-proof" as possible.  The purpose of this option is 
not to present output for human consumption; rather, it is to allow 
scripts/programs to parse the output.  As such, preserving text output 
doesn't seem that important (to me).  What are your thoughts?

Changing the separators from '-' and '=' to something else (like '@' and 
'#') could be just as effective in practice while preserving text 
output.  There is still a small copy/paste risk with that approach.

-Jonathan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.