~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_repository.py

(jelmer) Switch the commit code over to use config stacks. (Bazaar
 Developers)

Show diffs side-by-side

added added

removed removed

Lines of Context:
905
905
            revision = _mod_revision.Revision('rev1a',
906
906
                committer='jrandom@example.com', timestamp=0,
907
907
                inventory_sha1='', timezone=0, message='foo', parent_ids=[])
908
 
            repo.add_revision('rev1a',revision, inv)
 
908
            repo.add_revision('rev1a', revision, inv)
909
909
 
910
910
            # make rev1b, which has no Revision, but has an Inventory, and
911
911
            # file1
946
946
        revision = _mod_revision.Revision(revision_id,
947
947
            committer='jrandom@example.com', timestamp=0, inventory_sha1='',
948
948
            timezone=0, message='foo', parent_ids=parent_ids)
949
 
        repo.add_revision(revision_id,revision, inv)
 
949
        repo.add_revision(revision_id, revision, inv)
950
950
 
951
951
    def add_file(self, repo, inv, filename, revision, parents):
952
952
        file_id = filename + '-id'