Show More
@@ -341,6 +341,6 b' class changelog(revlog.revlog):' | |||||
341 | def branch(self, rev): |
|
341 | def branch(self, rev): | |
342 | """return the branch of a revision |
|
342 | """return the branch of a revision | |
343 |
|
343 | |||
344 |
|
|
344 | This function exists because creating a changectx object | |
345 |
|
|
345 | just to access this is costly.""" | |
346 | return encoding.tolocal(self.read(rev)[5].get("branch")) |
|
346 | return encoding.tolocal(self.read(rev)[5].get("branch")) |
General Comments 0
You need to be logged in to leave comments.
Login now