/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 bzrlib/revision.py

Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
    def get_summary(self):
115
115
        """Get the first line of the log message for this revision.
116
116
        """
117
 
        return self.message.split('\n', 1)[0]
 
117
        return self.message.lstrip().split('\n', 1)[0]
 
118
 
 
119
    def get_apparent_author(self):
 
120
        """Return the apparent author of this revision.
 
121
 
 
122
        If the revision properties contain the author name,
 
123
        return it. Otherwise return the committer name.
 
124
        """
 
125
        return self.properties.get('author', self.committer)
118
126
 
119
127
 
120
128
def is_ancestor(revision_id, candidate_id, branch):