/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test__dirstate_helpers.py

  • Committer: John Arbash Meinel
  • Date: 2011-05-06 15:15:44 UTC
  • mfrom: (5835 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5836.
  • Revision ID: john@arbash-meinel.com-20110506151544-atzxeezfwssnlacr
Merge bzr.dev 5835 in prep for release-notes updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
1032
1032
                         state._dirblock_state)
1033
1033
        # Change the last-modified time for the directory
1034
1034
        t = time.time() - 100.0
1035
 
        os.utime('a', (t, t))
 
1035
        try:
 
1036
            os.utime('a', (t, t))
 
1037
        except OSError:
 
1038
            # It looks like Win32 + FAT doesn't allow to change times on a dir.
 
1039
            raise tests.TestSkipped("can't update mtime of a dir on FAT")
1036
1040
        saved_packed_stat = entry[1][0][-1]
1037
1041
        self.assertIs(None, self.do_update_entry(state, entry, 'a'))
1038
1042
        # We *do* go ahead and update the information in the dirblocks, but we