bzr editor setup
Aaron Bentley
aaron at aaronbentley.com
Sun Jan 27 04:33:04 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Brett Calcott wrote:
> Hi,
>
> 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
> following:
> 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.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHnAl/0F+nu1YWqI0RAuGlAJwJKNqxVuCu9NQHESHkw5y/wze6SACeKVH0
hoUGtjtX9oNxyc8MJAeVo9c=
=PZI5
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list