'The C{exportTo} VCS command\'s method export the content of the
repository as identical in a specified directory.'

def test_export(self):

    structure = {'README.rst': u'Hi    this    is    1.0.0.', 'twisted': {'newsfragments': {'README': u'Hi    this    is    1.0.0'}, '_version.py': genVersion('twisted', 1, 0, 0), 'web': {'newsfragments': {'README': u'Hi    this    is    1.0.0'}, '_version.py': genVersion('twisted.web', 1, 0, 0)}}}
    reposDir = self.makeRepository(self.tmpDir)
    self.createStructure(reposDir, structure)
    self.commitRepository(reposDir)
    exportDir = FilePath(self.mktemp()).child('export')
    self.createCommand.exportTo(reposDir, exportDir)
    self.assertStructure(exportDir, structure)
