[PATCH 2 of 2] manifest: add docstring to text() method

Augie Fackler raf at durin42.com
Tue Oct 14 13:43:25 CDT 2014


# HG changeset patch
# User Augie Fackler <raf at durin42.com>
# Date 1413312145 14400
#      Tue Oct 14 14:42:25 2014 -0400
# Node ID 415cae3bf91f02da15b6d8811127f984c9608634
# Parent  1df92f6c6eb1731fd5b3fceac54be06524c68fe8
manifest: add docstring to text() method

diff --git a/mercurial/manifest.py b/mercurial/manifest.py
--- a/mercurial/manifest.py
+++ b/mercurial/manifest.py
@@ -41,6 +41,7 @@
         return dicthelpers.diff(self._flags, d2._flags, "")
 
     def text(self):
+        """Get the full data of this manifest as a bytestring."""
         fl = sorted(self)
         _checkforbidden(fl)
 


More information about the Mercurial-devel mailing list