help-rcs
[Top][All Lists]
Advanced

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

Re: [Fwd: Bug#212038: rcs: ci: should be able to edit the log message]


From: Aaron S. Hawley
Subject: Re: [Fwd: Bug#212038: rcs: ci: should be able to edit the log message]
Date: Mon, 22 Sep 2003 16:29:03 -0400 (EDT)

On Mon, 22 Sep 2003, Mark Baker wrote:

> Hi,
>
> I'm the debian developer responsible for debian's rcs package. Recently
> a debian user filed this bug report, which is actually a feature request.
>
> I may have a look at doing this myself; it sounds like a fairly simple
> thing to add. I'm not promising anything though.
>
> (I think using ~e or any other such escape could potentially cause
> compatibility problems, as rcs is often called from other programs or
> scripts. A command line option might be better).

I believe you've stumbled onto the answer, the best solution is not to
mess with RCS but actually write yet another program that wraps the
standard RCS command giving the behavior you want.

hint:

#!/bin/sh

TMPDIR=/tmp
TMPFILE=$TMPDIR/rcs.ciedit.$$
$EDITOR $TMPFILE
/usr/bin/ci $* < $TMPFILE
rm -f $TMPFILE

good luck,
/a




reply via email to

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