/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_branchbuilder.py

  • Committer: Vincent Ladeuil
  • Date: 2010-12-07 09:06:39 UTC
  • mto: This revision was merged to the branch mainline in revision 5567.
  • Revision ID: v.ladeuil+lp@free.fr-20101207090639-l77s4ix6oqqn76jx
Fix the remaining references to http://bazaar-vcs.org (except the explicitly historical ones).

Show diffs side-by-side

added added

removed removed

Lines of Context:
324
324
        # should look like it was not modified in the merge
325
325
        self.assertEqual('C-id', d_tree.inventory['c-id'].revision)
326
326
 
 
327
    def test_set_parent_to_null(self):
 
328
        builder = self.build_a_rev()
 
329
        builder.start_series()
 
330
        self.addCleanup(builder.finish_series)
 
331
        builder.build_snapshot('B-id', [],
 
332
            [('add', ('', None, 'directory', None))])
 
333
        # We should now have a graph:
 
334
        #   A B
 
335
        # And not A => B
 
336
        repo = builder.get_branch().repository
 
337
        self.assertEqual({'A-id': (_mod_revision.NULL_REVISION,),
 
338
                          'B-id': (_mod_revision.NULL_REVISION,),},
 
339
                         repo.get_parent_map(['A-id', 'B-id']))
 
340
 
 
341
    
327
342
    def test_start_finish_series(self):
328
343
        builder = BranchBuilder(self.get_transport().clone('foo'))
329
344
        builder.start_series()