~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revision.py

  • Committer: Wouter van Heyst
  • Date: 2006-06-07 11:13:02 UTC
  • mfrom: (1747 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1752.
  • Revision ID: larstiq@larstiq.dyndns.org-20060607111302-bce5a90c86f0d764
[merge] bzr.dev 1747

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
 
104
109
 
105
110
def is_ancestor(revision_id, candidate_id, branch):
106
111
    """Return true if candidate_id is an ancestor of revision_id.