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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-08 07:05:00 UTC
  • mfrom: (3376.2.15 no-asserts)
  • Revision ID: pqm@pqm.ubuntu.com-20080508070500-9zyyvsk0eev20t4w
(mbp) remove and disallow assert statements

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
        for parent in parents:
213
213
            descendants[parent][node] = 1
214
214
        ancestors[node] = set(parents)
215
 
 
216
 
    assert root not in descendants[root]
217
 
    assert root not in ancestors[root]
218
215
    return root, ancestors, descendants
219
216
 
220
217
 
311
308
    @symbol_versioning.deprecated_method(symbol_versioning.one_three)
312
309
    def __init__(self, *args):
313
310
        object.__init__(self)
314
 
        assert len(args) != 0
315
311
        self._revision_sources = args
316
312
 
317
313
    def revision_parents(self, revision_id):