Hello, attached is a patch against vc-bzr.el, containing some misc fixes and improvements, most notably: - 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; - `vc-bzr-register' now works with 22.1 and CVS versions of `vc-find-root'. 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-register): Fix for working with both 22.1 and CVS version of `vc-find-root' (patch by Andreas Hoenen) * (vc-bzr-status): Update regex to match latest Bzr output. Removed redundant test. * (vc-bzr-init-version): New function. * (vc-bzr-unregister): Must not delete file. * (vc-bzr-find-version): 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