~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_msgeditor.py

  • Committer: John Arbash Meinel
  • Date: 2006-06-22 18:24:25 UTC
  • mfrom: (1803 +trunk)
  • mto: (1793.3.6 bundle-fixes)
  • mto: This revision was merged to the branch mainline in revision 1806.
  • Revision ID: john@arbash-meinel.com-20060622182425-6f45cb7acd587216
[merge] bzr.dev 1804 and fix conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
            f = file('fed.bat', 'w')
103
103
            f.write("""\
104
104
@echo off
105
 
%s fed.py %%1
 
105
"%s" fed.py %%1
106
106
""" % sys.executable)
107
107
            f.close()
108
108
            os.environ['BZR_EDITOR'] = 'fed.bat'
123
123
        working_tree = self.make_uncommitted_tree()
124
124
 
125
125
        if sys.platform == 'win32':
126
 
            os.environ['BZR_EDITOR'] = 'del'
 
126
            os.environ['BZR_EDITOR'] = 'cmd.exe /c del'
127
127
        else:
128
128
            os.environ['BZR_EDITOR'] = 'rm'
129
129