[PATCH 1 of 2] revset: added docstring to baseset class

Lucas Moscovicz lmoscovicz at fb.com
Thu Feb 6 13:42:22 CST 2014


# HG changeset patch
# User Lucas Moscovicz <lmoscovicz at fb.com>
# Date 1391715216 28800
#      Thu Feb 06 11:33:36 2014 -0800
# Node ID eacef209ab9af32854c4f9255bd5552ffb06b23f
# Parent  19b9ecbf916636b9bbb74cb9e14b5f20aad39eb0
revset: added docstring to baseset class

diff --git a/mercurial/revset.py b/mercurial/revset.py
--- a/mercurial/revset.py
+++ b/mercurial/revset.py
@@ -2030,6 +2030,9 @@
         return funcs
 
 class baseset(list):
+    """Basic data structure that represents a revset and contains the basic
+    operation that it should be able to perform.
+    """
     def __init__(self, data):
         super(baseset, self).__init__(data)
         self._set = None


More information about the Mercurial-devel mailing list