[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] Re: planner-log-edit work-alike for psvn?
From: |
Seth Falcon |
Subject: |
Re: [emacs-wiki-discuss] Re: planner-log-edit work-alike for psvn? |
Date: |
Mon, 28 Feb 2005 08:19:15 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) |
Hi Stefan,
Stefan Reichör <address@hidden> writes:
> I don't use pcl-cvs anymore. So I can't test the planner-log-edit
> function here. Could you please explain, what this function records in
> your planner page.
It records the commit log message along with a list of files that were
part of the commit as a note on your plan page. So after committing,
you get something like this automagically added to your plan page:
.#2 Commit
Files: somefile.c
Fix bug in some frob foo bar.
For svn, it would be great to have the revision number in there too
:-)
> Is soon as I understand the requirements for the new functionality I
> will add the needed code to psvn.el - because I am the author ;-)
The way planner-log-edit works (I think) is by doing this:
(add-hook 'log-edit-done-hook 'planner-log-edit-add-note)
So I think one way to implement this for psvn is to add a similar hook
and then one could create function to parsse the commit log buffer and
possibly the svn-status buffer (to get the revision number). OTOH,
perhaps there is a smarter way.
Thanks for responding. And thanks for psvn, I've been enjoying using
it --- it feels much more svn-ish than using VC.
Best,
+ seth