~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-14 04:53:15 UTC
  • mfrom: (1910.7.21 cosmetic)
  • Revision ID: pqm@pqm.ubuntu.com-20060914045315-d646c86b3f4722f2
(Andrew Bennetts, Robert Collins, Martin Pool) Various cosmetic improvements to docstrings and comments throughout bzrlib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
294
294
 
295
295
    def revision_history(self):
296
296
        """Return sequence of revision hashes on to this branch."""
297
 
        raise NotImplementedError('revision_history is abstract')
 
297
        raise NotImplementedError(self.revision_history)
298
298
 
299
299
    def revno(self):
300
300
        """Return current revision number for this branch.
1186
1186
        try:
1187
1187
            old_count = len(self.revision_history())
1188
1188
            try:
1189
 
                self.update_revisions(source,stop_revision)
 
1189
                self.update_revisions(source, stop_revision)
1190
1190
            except DivergedBranches:
1191
1191
                if not overwrite:
1192
1192
                    raise