Patchwork [1,of,3] revset: added docstring to baseset class

login
register
mail settings
Submitter Lucas Moscovicz
Date Feb. 7, 2014, 12:01 a.m.
Message ID <eacef209ab9af32854c4.1391731301@dev1037.prn2.facebook.com>
Download mbox | patch
Permalink /patch/3501/
State Superseded
Headers show

Comments

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

Patch

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