~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_msgeditor.py

  • Committer: Robert Collins
  • Date: 2006-08-08 23:19:29 UTC
  • mfrom: (1884 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1912.
  • Revision ID: robertc@robertcollins.net-20060808231929-4e3e298190214b3a
current status

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