Committed revision 253 to http://mwolson.org/bzr/dvc/
Make dvc-log really work, implement refresh for revision lists
* Make all dvc-log calls take a second last-n argument, so that C-x V L
works again. My previous patch was for C-x V l, which is actually
dvc-changelog.
* Any function that calls dvc-build-revision-list must now specify a
function to call for refreshing the buffer. The function must contain
no arguments. The easiest way to make such a function is to use
dvc-capturing-lambda. I took care of all of the cases I could find.
* lisp/dvc-revlist.el (dvc-revlist-refresh-fn): New variable containing
the function to call for refreshing the revlist buffer.
(dvc-revlist-mode): Set dvc-buffer-refresh-function.
(dvc-revlist-generic-refresh): New function that just funcalls
dvc-revlist-refresh-fn or displays a message if that variable is nil.
(dvc-build-revision-list): Take refresh-fn argument.
* lisp/xgit-dvc.el (xgit-dvc-log): Add autoload cookie, to match the
appearance of the duplicated instance of this function.
* lisp/xgit-log.el (xgit-log): Make cnt be a normal argument rather than
a keyword argument. Set process-environment to do the PAGER=cat trick.
* lisp/xgit-revision.el (xgit-dvc-log): Removed this function, since it
is shadowed by a function by the same name in xgit-dvc.el.
--
Michael Olson -- FSF Associate Member #652 |
http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net | /` |\ | | |
Sysadmin -- Hobbies: Lisp, GP2X, HCoop | |_] | \| |_|
Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |
_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev