Show More
@@ -1332,6 +1332,10 b' class EmptyCommit(BaseCommit):' | |||||
1332 | def short_id(self): |
|
1332 | def short_id(self): | |
1333 | return self.raw_id[:12] |
|
1333 | return self.raw_id[:12] | |
1334 |
|
1334 | |||
|
1335 | @LazyProperty | |||
|
1336 | def id(self): | |||
|
1337 | return self.raw_id | |||
|
1338 | ||||
1335 | def get_file_commit(self, path): |
|
1339 | def get_file_commit(self, path): | |
1336 | return self |
|
1340 | return self | |
1337 |
|
1341 |
@@ -203,6 +203,10 b' class SubversionCommit(base.BaseCommit):' | |||||
203 | changed_files.update(files) |
|
203 | changed_files.update(files) | |
204 | return list(changed_files) |
|
204 | return list(changed_files) | |
205 |
|
205 | |||
|
206 | @LazyProperty | |||
|
207 | def id(self): | |||
|
208 | return self.raw_id | |||
|
209 | ||||
206 | @property |
|
210 | @property | |
207 | def added(self): |
|
211 | def added(self): | |
208 | return nodes.AddedFileNodesGenerator( |
|
212 | return nodes.AddedFileNodesGenerator( |
General Comments 0
You need to be logged in to leave comments.
Login now