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

Add extra assertion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
            if obj.type_name == "commit":
90
90
                commit = obj
91
91
            self._pending.append((obj, path))
 
92
        if commit is None:
 
93
            raise AssertionError("no commit object generated for revision %s" %
 
94
                revid)
92
95
        return commit.id
93
96
 
94
97
    def __len__(self):