~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to testchangeset.py

  • Committer: John Arbash Meinel
  • Date: 2005-07-14 00:27:05 UTC
  • mto: (0.5.85) (1185.82.1 bzr-w-changeset)
  • mto: This revision was merged to the branch mainline in revision 1738.
  • Revision ID: john@arbash-meinel.com-20050714002705-c6fae822e6d8f876
Lots of changes, changing separators, updating tests, updated ChangesetTree to include text_ids

Show diffs side-by-side

added added

removed removed

Lines of Context:
324
324
 
325
325
        # Make sure we can handle files with spaces, tabs, other
326
326
        # bogus characters
327
 
        files = ['with space.txt',
328
 
                'dir/',
 
327
        self.build_tree([
 
328
                'b1/with space.txt',
 
329
                'b1/dir/',
 
330
                'b1/dir/filein subdir.c',
 
331
                'b1/dir/WithCaps.txt'
 
332
                # Tabs are not valid in filenames on windows
 
333
                #'b1/with\ttab.txt'
 
334
                ])
 
335
        self.b1.add([
 
336
                'with space.txt',
 
337
                'dir',
329
338
                'dir/filein subdir.c',
330
339
                'dir/WithCaps.txt'
331
 
                ]
332
 
        if sys.platform not in ('win32', 'cygwin'):
333
 
            # Tabs are not valid in filenames on windows
334
 
            files.append('with\ttab.txt')
335
 
        self.build_tree(['b1/' + f for f in files])
336
 
        self.b1.add(files)
 
340
                ])
337
341
        self.b1.commit('add whitespace', rev_id='a@cset-0-2')
338
342
 
339
343
        cset = self.get_valid_cset('a@cset-0-1', 'a@cset-0-2')