Hello, here's a patch against vc-bzr.el (diff taken against CVS-1.23 HEAD), containing some misc fixes. Only slightly tested on 23.0.50.1 built on Debian from CVS sources. Short summary of changes: - completed transition to new VC; `vc-bzr-state' uses the new 'removed, 'ignored and 'unregistered states. - new customization option `vc-bzr-log-switches' (analogous to `vc-bzr-diff-switches'); - bugfix in `vc-bzr-unregister': must not delete unregistered file; - vc-bzr-command overrides only LC_MESSAGES, not the whole locale setting; Detailed changelog: * Copyright and version headers update. Remove some outdated comments through the whole file. * (vc-bzr-program-args): Removed because unused. * (vc-bzr-log-switches): New customization option. * (vc-bzr-command): Use LC_MESSAGES=C instead of LC_ALL=C. No longer use `vc-bzr-program-args'. * (vc-bzr-revision-granularity): New function. * (vc-bzr-status): Update regex to match latest Bzr output. Use new 'removed, 'ignored and 'unregistered states. * (vc-bzr-init-revision): New function. * (vc-bzr-unregister): Must not delete file. * (vc-bzr-find-revision): New function. * (vc-bzr-checkout): Argument `rev' is explicit revision only if it's a non-empty string, otherwise take head revision. * (vc-bzr-print-log): Pass `vc-bzr-log-switches' to "bzr log". * (vc-bzr-diff): Simpler build of the revision spec string. * (vc-annotate-convert-time, vc-bzr-annotate-difference): Removed: compatibility hacks for Emacs21, not needed in Emacs 22. * (vc-bzr-dir-state): Added code comments. Removed redundant statement. * (vc-bzr-dired-state-info): Only provide custom strings for overloaded VC state 'edited; otherwise fallback to `vc-default-dired-state-info'. -- Riccardo Murri, via Galeazzo Alessi 61, 00176 Roma