bzr editor setup
aaron at aaronbentley.com
Sun Jan 27 04:33:04 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Brett Calcott wrote:
> I've got bzr 1.1, but this problem occurred also with 1.0. I'm using it on Mac
> OSX Leopard.
> I do a commit. (bzr ci). Up comes vim, I add comments, hit ZZ, and I get the
> bzr: ERROR: Could not start any editor.
> Please specify one with:
> - $BZR_EDITOR
> - editor=/some/path in /Users/brett/.bazaar/bazaar.conf
> - $VISUAL
> - $EDITOR
> bzr clearly did find the editor, as I was just using it! But it somehow loses
> the file after I save and quit. (Note that EDITOR is set to vim, and editor in
> the conf file is set to vim too, but I don't think this is the problem.)
Well, this depends which vim. If you're using the console vim, you
should be fine.
But it sounds like perhaps you're using a GUI vim. These detach from
the console, which means that Bazaar can't tell when you've quit. With
gvim, this behavior can be suppressed with gvim -f.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar