~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revision.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-05-19 06:14:38 UTC
  • mfrom: (1704.2.23 bzr.mbp.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060519061438-6300caf3926c3cff
(mbp) small fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
        reversed_result.reverse()
102
102
        return reversed_result
103
103
 
104
 
    def get_summary(self):
105
 
        """Get the first line of the log message for this revision.
106
 
        """
107
 
        return self.message.split('\n', 1)[0]
108
 
 
109
104
 
110
105
def is_ancestor(revision_id, candidate_id, branch):
111
106
    """Return true if candidate_id is an ancestor of revision_id.