comparison mercurial/changelog.py @ 18308:4e27b06a0fd9

changelog: please check-code and remove tabs Tabs were introduced in 06185554e7e3.
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 12 Jan 2013 16:04:29 +0100
parents 06185554e7e3
children 404feac78b8a
comparison
equal deleted inserted replaced
18307:0eed2546118a 18308:4e27b06a0fd9
339 return self.addrevision(text, transaction, len(self), p1, p2) 339 return self.addrevision(text, transaction, len(self), p1, p2)
340 340
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 This function exists because creating a changectx object 344 This function exists because creating a changectx object
345 just to access this is costly.""" 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"))