##// END OF EJS Templates
revlog: add docstring to _addrevision
Sune Foldager -
r14292:c97d8485 default
parent child Browse files
Show More
@@ -978,7 +978,13 b' class revlog(object):'
978
978
979 def _addrevision(self, node, text, transaction, link, p1, p2,
979 def _addrevision(self, node, text, transaction, link, p1, p2,
980 cachedelta, ifh, dfh):
980 cachedelta, ifh, dfh):
981 """internal function to add revisions to the log
981
982
983 see addrevision for argument descriptions.
984 invariants:
985 - text is optional (can be None); if not set, cachedelta must be set.
986 if both are set, they must correspond to eachother.
987 """
982 btext = [text]
988 btext = [text]
983 def buildtext():
989 def buildtext():
984 if btext[0] is not None:
990 if btext[0] is not None:
General Comments 0
You need to be logged in to leave comments. Login now