Show More
@@ -38,14 +38,11 b' class GitChangeset(BaseChangeset):' | |||||
38 | self._tree_id = commit.tree |
|
38 | self._tree_id = commit.tree | |
39 |
|
39 | |||
40 | try: |
|
40 | try: | |
41 |
self.message = safe_unicode(commit.message |
|
41 | self.message = safe_unicode(commit.message) | |
42 | # Always strip last eol |
|
|||
43 | except UnicodeDecodeError: |
|
42 | except UnicodeDecodeError: | |
44 |
self.message = commit.message |
|
43 | self.message = commit.message.decode(commit.encoding or 'utf-8') | |
45 | or 'utf-8') |
|
|||
46 | #self.branch = None |
|
44 | #self.branch = None | |
47 | self.tags = [] |
|
45 | self.tags = [] | |
48 | #tree = self.repository.get_object(self._tree_id) |
|
|||
49 | self.nodes = {} |
|
46 | self.nodes = {} | |
50 | self._paths = {} |
|
47 | self._paths = {} | |
51 |
|
48 |
General Comments 0
You need to be logged in to leave comments.
Login now