help-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: null-terminated separators for rlog


From: Jonathan Noack
Subject: Re: RFC: null-terminated separators for rlog
Date: Thu, 20 Apr 2006 14:06:02 -0400
User-agent: Thunderbird 1.5 (Windows/20051201)

Paul Eggert wrote:
Jonathan Noack <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]