Comment 0 for bug 191651

Revision history for this message
Jari Aalto (jari-aalto) wrote :

Consider following line:

    # ~/.bazaar/bazaar.conf
    [DEFAULT]
    editor = emacs --no-site-file -q -nw --eval "(setq backup-inhibited t)"

When editor in invoked with:

    bzr ci

The Emacs editor command is not called correctly. Judging from Emacs
buffer *Messages*, the call was made using excessive quotes:

   ("emacs" "-q" "--no-site-file" "--eval" "\"(setq" "backup-inhibited" "t)\"" "bzr_log.DCPFDq")
   command-line-1: End of file during parsing

It would appear, that bzr just quotes every word separated by space
when passing arguments to exec(), which in effect - is not the correct result.