~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 6571.2.1.

  • Committer: Ross Lagerwall
  • Date: 2012-12-10 14:44:20 UTC
  • mto: (6576.1.5 trunk)
  • mto: This revision was merged to the branch mainline in revision 6578.
  • Revision ID: rosslagerwall@gmail.com-20121210144420-kre7zvbak3g6nlx5
Handle empty quoted strings in command lines

Before, if EDITOR was set as 'emacsclient -a "" -t', it would be parsed
as [(False, 'emacsclient'), (False, '-a'), (True, '-t')], causing the
editor to be invoked incorrectly.

This changes it to parse it as [(False, 'emacsclient'), (False, '-a'),
(True, ''), (False, '-t')], which is correct.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: