~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/diff.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-18 03:02:28 UTC
  • mfrom: (5037.3.2 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100218030228-dtbmt8pdtf21ndo7
(mbp, for doxx) better win32 cmdline splitter

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
from bzrlib import (
32
32
    branch as _mod_branch,
33
33
    bzrdir,
34
 
    commands,
 
34
    cmdline,
35
35
    errors,
36
36
    osutils,
37
37
    patiencediff,
683
683
    @classmethod
684
684
    def from_string(klass, command_string, old_tree, new_tree, to_file,
685
685
                    path_encoding='utf-8'):
686
 
        command_template = commands.shlex_split_unicode(command_string)
 
686
        command_template = cmdline.split(command_string)
687
687
        if '@' not in command_string:
688
688
            command_template.extend(['@old_path', '@new_path'])
689
689
        return klass(command_template, old_tree, new_tree, to_file,