I do most development from within emacs, and I use bzr for version control. I infer that c-x v = is equivalent to bzr diff, but it is not clear to me how I can make commits from within emacs, or how various bzr commands map to emacs key bindings. Can anyone suggest the best approach or point me to a tutorial?
Asked
Active
Viewed 245 times
3 Answers
5
Bazaar bzr
command is one of the backend tool managed by VC. Thus you can use all your VC commands to use the bzr backend :
C-x v + vc-update
C-x v = ediff-revision
C-x v D vc-root-diff
C-x v L vc-print-root-log
C-x v a vc-update-change-log
C-x v b vc-switch-backend
C-x v c vc-rollback
C-x v d vc-dir
C-x v g vc-annotate
C-x v h vc-insert-headers
C-x v i vc-register
C-x v l vc-print-log
C-x v m vc-merge
C-x v r vc-retrieve-tag
C-x v s vc-create-tag
C-x v u vc-revert
C-x v v vc-next-action
C-x v ~ vc-revision-other-window
I've configured C-x v = to call ediff-revision using the following command in my .emacs :
(eval-after-load "vc-hooks"
'(define-key vc-prefix-map "=" 'ediff-revision))

Jérôme Radix
- 10,285
- 4
- 34
- 40
-
érôme: Thanks for the list of VC commands. Is the list something that emacs can generate (with a simple command) or did you have to build it by hand? – unutbu Sep 21 '10 at 12:29
-
2C-h b to list all keybindings of the current mode of the buffer you're currently in. – Jérôme Radix Sep 21 '10 at 15:55
-
érôme: I can't believe how long I've gone without knowing this. Thank you. – unutbu Sep 21 '10 at 20:43
4
C-x v v, or vc-next-action
. Take a look at the VC section in the emacs manual

ataylor
- 64,891
- 24
- 161
- 189
1
Looks like the DVC mode is what you're after. Sorry, I haven't used it, so I can't tell you anything about it.

Don Kirkby
- 53,582
- 27
- 205
- 286