~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_export.py

  • Committer: Jelmer Vernooij
  • Date: 2010-03-08 02:23:17 UTC
  • mto: This revision was merged to the branch mainline in revision 5086.
  • Revision ID: jelmer@samba.org-20100308022317-hmxztr4jz5danig8
Review comments from Rob.

Show diffs side-by-side

added added

removed removed

Lines of Context:
294
294
        out, err = self.run_bzr('export exported branch/subdir')
295
295
        self.assertEqual(['foo.txt'], os.listdir('exported'))
296
296
 
297
 
    def test_dir_export_use_tree_timestamp(self):
 
297
    def test_dir_export_per_file_timestamps(self):
298
298
        tree = self.example_branch()
299
299
        self.build_tree_contents([('branch/har', 'foo')])
300
300
        tree.add('har')
301
301
        tree.commit('setup', timestamp=42)
302
 
        self.run_bzr('export --use-tree-timestamp t branch')
 
302
        self.run_bzr('export --per-file-timestamps t branch')
303
303
        har_st = os.stat('t/har')
304
304
        self.assertEquals(42, har_st.st_mtime)
305
305