[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ChangeLog and Version Control
From: |
Aman S Kohli |
Subject: |
Re: ChangeLog and Version Control |
Date: |
26 Sep 2002 09:39:02 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> rmolen@socal.rr.com (Richard V. Molen) writes:
>
> I think this is not the default behavior. The default behavior is
> that the ChangeLog file is not changed after doing C-c C-c.
>
> So something in your config must be doing it.
vc provides a function to use as part of the checkin hook. I got this from
<URL
http://www.ece.utexas.edu/projects/courses/spring_02/ee379k/bow-20020213/HACKING>
(add-hook 'vc-checkin-hook 'vc-checkin-add-log)
;;; Insert the file's new log entries in ChangeLog.
(defun vc-checkin-add-log ()
(let ((log (find-change-log)))
(and log
(y-or-n-p (format "Update %s for %s changes? "
(file-relative-name log)
(file-relative-name buffer-file-name)))
(vc-comment-to-change-log nil log))))
Aman
> kai
> --
> ~/.signature is: umop ap!sdn (Frank Nobis)
- ChangeLog and Version Control, Richard V. Molen, 2002/09/26
- Re: ChangeLog and Version Control, Kai Großjohann, 2002/09/26
- Re: ChangeLog and Version Control,
Aman S Kohli <=
- Re: ChangeLog and Version Control, Kai Großjohann, 2002/09/26
- Re: ChangeLog and Version Control, Stefan Monnier <address@hidden>, 2002/09/26
- Re: ChangeLog and Version Control, Richard V. Molen, 2002/09/26
- Re: ChangeLog and Version Control, Aman S Kohli, 2002/09/27
- Re: ChangeLog and Version Control, Richard V. Molen, 2002/09/27