arx-users
[Top][All Lists]
Advanced

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

Re: [Arx-users] Long summary messages


From: Walter Landry
Subject: Re: [Arx-users] Long summary messages
Date: Thu, 30 Jun 2005 17:34:18 -0700 (PDT)

Mike Feeney <address@hidden> wrote:
> ArX seems to only allow me one line for a summary. I guess I could type
> a really long line, but that isn't exactly friendly.

There are two ways to make multi-line summaries.  The ugly way is to
embed newlines in the comment

  arx commit -s "foo\nbar"

The inconvenient way is to use the -L option to commit with an RFC 822
style log file.  For example, a file with the contents

-----------------
Summary: foo
         bar

baz
bat
-----------------

Will give you a multi-line summary.  Note that you have to have
leading whitespace for the lines following Summary:.  Otherwise you
are creating a new header.  For the body of the log, you have to skip
a line.

I should probably add something like this to the manual.

> Is there any chance of adopting the CVS and subversion method of
> opening my favorite text editor and summarizing to my heart's
> content?

ArX used to have a "make-log" command that would create such a log
file and invoke an editor.  It also tried to make it easy to edit an
RFC 822 style.  It seemed fragile, and just the wrong place to do it.  

I think the problem arises because ArX has both Summary: and a body.
I could make "commit" pop up an editor and then take the whole file as
a Summary:.  Hmm.

Walter




reply via email to

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