~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revision.py

  • Committer: Aaron Bentley
  • Date: 2006-06-06 17:04:50 UTC
  • mto: This revision was merged to the branch mainline in revision 1745.
  • Revision ID: aaron.bentley@utoronto.ca-20060606170450-8a09b15bf3f195b0
Merge from bzr.dev

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.