Committed revision 244 to http://bzr.xsteve.at/dvc/
Merged from Michael Olson: A bunch of dvc-log and xgit improvements
------------------------------------------------------------
revno: 241.1.13
merged: [EMAIL PROTECTED]
committer: Michael W. Olson <[EMAIL PROTECTED]>
branch nick: mwolson
timestamp: Mon 2007-09-03 02:50:12 -0400
message:
xgit: Avoid unnecessary set of process-environment
* lisp/xgit-core.el (xgit-prepare-environment): Add comment about
GIT_PAGER.
* lisp/xgit-log.el (xgit-log): Revert part of last couple of patches so
that we do not set process-environment here. It will be set later on
in dvc-run-dvc-async.
------------------------------------------------------------
revno: 241.1.12
merged: [EMAIL PROTECTED]
committer: Michael W. Olson <[EMAIL PROTECTED]>
branch nick: mwolson
timestamp: Mon 2007-09-03 01:58:28 -0400
message:
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.
------------------------------------------------------------
revno: 241.1.11
merged: [EMAIL PROTECTED]
committer: Michael W. Olson <[EMAIL PROTECTED]>
branch nick: mwolson
timestamp: Sun 2007-09-02 22:41:53 -0400
message:
bzr: Fix commit-notification issue with gnus-posting-styles
* lisp/bzr.el (bzr-send-commit-notification): Let-bind
gnus-newsgroup-name to nil before calling compose-mail. This prevents
overly aggressive hacks in gnus-posting-styles from changing the
destination email address.
------------------------------------------------------------
revno: 241.1.10
merged: [EMAIL PROTECTED]
committer: Michael W. Olson <[EMAIL PROTECTED]>
branch nick: mwolson
timestamp: Sun 2007-09-02 22:07:53 -0400
message:
xgit: Make refreshing a diff work
* lisp/dvc-core.el (dvc-revision-to-string): Add orig-str argument, which
indicates the text to use for the current revision of the working
directory. Again, this should really be replaced with a value that
depends on the DVC currently in use.
* lisp/xgit.el (xgit-diff): Rewrite to accept lists for base-rev and
against-rev arguments, rather than strings. This is more consistent
with how the other backends do things. This fixes a bug where
refreshing a diff threw an error.
(xgit-delta): Don't call dvc-revision-to-string; this is now done by
xgit-diff itself.
------------------------------------------------------------
revno: 241.1.9
merged: [EMAIL PROTECTED]
committer: Michael W. Olson <[EMAIL PROTECTED]>
branch nick: mwolson
timestamp: Sun 2007-09-02 20:38:20 -0400
message:
Fix issue with xgit-log in project subdirectories
* lisp/xgit-log.el (xgit-log): Don't get the path to the .git directory,
because the current directory will always be the project's root
directory when running git log.
------------------------------------------------------------
revno: 241.1.8
merged: [EMAIL PROTECTED]
committer: Michael W. Olson <[EMAIL PROTECTED]>
branch nick: mwolson
timestamp: Sun 2007-09-02 20:11:42 -0400
message:
Implement xgit-delta
* lisp/dvc-core.el (dvc-revision-to-string): Take optional prev-format
argument, which specifies the format string to use for generating
previous revisions. We default to the bzr syntax for now. It would be
best to just figure this value out rather than requiring it to be
passed to the function, but this will do for now.
* lisp/xgit-dvc.el: Add defalias for xgit-delta.
* lisp/xgit.el (xgit-diff): Handle base-rev and against arguments
properly.
(xgit-prev-format-string): New variable used with
dvc-revision-to-string.
------------------------------------------------------------
revno: 241.1.7
merged: [EMAIL PROTECTED]
committer: Michael W. Olson <[EMAIL PROTECTED]>
branch nick: mwolson
timestamp: Sun 2007-09-02 17:47:07 -0400
message:
Fix remaining xgit compiler warnings
* lisp/xgit-gnus.el (xgit-gnus-apply-patch): Pass directory argument to
xgit-log in order to silence compiler warning.
* lisp/xgit-revision.el (xgit-dvc-log-parse): Use commit instead of
changeset, and xgit instead of cg. This fixes the last compiler
warning that I am aware of.
------------------------------------------------------------
revno: 241.1.6
merged: [EMAIL PROTECTED]
committer: Michael W. Olson <[EMAIL PROTECTED]>
branch nick: mwolson
timestamp: Sun 2007-09-02 17:34:04 -0400
message:
Fix tla--message-with-rolling compiler warning
* lisp/tla.el: Fix typo in comment. Require dvc-about since we want to
use dvc-about-message-with-rolling. Use dvc-about-message-with-rolling
rather than tla--message-with-rolling to fix compiler warning.
_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev