info-cvs
[Top][All Lists]
Advanced

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

Re: Edit comments?


From: Richard Wesley
Subject: Re: Edit comments?
Date: Fri, 13 Oct 2000 10:13:49 -0700

I have a Projector integration tool for the CodeWarrior IDE, and what I do there is put up a dialog (analogous to the $EDITOR invocation under UNIX when -m is omitted). The default text is the checkout comment and the user is free to edit it. So part of the solution could be to do the same thing with the command line. There would still need to be some sort of query for the non-CL interfaces.

One other thing my tool does is allow you to change the comment to document any changes in your intentions. Perhaps the query and change could be variants of the same command?

At 12:31 -0400 10/13/00, Noel L Yap wrote:
I had thought a little about this at one point.  IIRC, this would involve no
more than adding an extra subfield in fileattr and extending the protocol a
little. I don't think this is that much work since the protocol can be extended
easily without breaking older clients/servers (but you may not have the new
feature if you use older clients/servers).

One thing to ensure is that special characters in the new subfield must be
escaped properly.

Using the comments for checkin may need some more thought.  For example, will
the edit comments be appended to the checkin comments or will they replace
checkin comments?

Noel





address@hidden on 2000.10.13 12:02:54

To:   address@hidden
cc:   (bcc: Noel L Yap)
Subject:  Edit comments?




I am a Macintosh programmer mostly, and one of the things that the
hoary old MPW Projector system had that I miss in CVS is the notion
of checkout comments.  Projector is an exclusive locking system and
when you locked a file, you had the option of adding a comment
describing what you intended to do.  This was very handy for both
small project communication and for jogging your memory.

The closest thing in CVS is the edit command.  edit maintains a list
of folks who are working on a file.  It occurred to me that there
could be an additional comment field in the editors list.  This would
work very nicely with the edit -c patches, but it would probably
require file format and protocol changes.  I'm also not sure how one
would extract the comment for the edit that was about to be committed.

Comments ;-)?  Suggestions?

- rmgw

http://www.electricfish.com/hawkfish/

----------------------------------------------------------------------------
Richard Wesley           Electric Fish, Inc.       address@hidden

"Grownups have the most uninteresting explanations for things."
                  - C. S. Lewis, _The Magician's Nephew_

_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs





This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its
subsidiaries and affiliates.


_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs


- rmgw

http://www.electricfish.com/hawkfish/

----------------------------------------------------------------------------
Richard Wesley           Electric Fish, Inc.       address@hidden

"Grownups have the most uninteresting explanations for things."
                 - C. S. Lewis, _The Magician's Nephew_



reply via email to

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