mercurial/dagutil.py
changeset 14206 2bf60f158ecb
parent 14164 cb98fed52495
child 14364 a3b9f1bddab1
--- a/mercurial/dagutil.py	Wed May 04 22:08:55 2011 -0500
+++ b/mercurial/dagutil.py	Thu May 05 23:21:37 2011 +0800
@@ -40,18 +40,24 @@
         raise NotImplementedError()
 
     def ancestorset(self, starts, stops=None):
-        '''set of all ancestors of starts (incl), but stop walk at stops (excl)'''
+        '''
+        set of all ancestors of starts (incl), but stop walk at stops (excl)
+        '''
         raise NotImplementedError()
 
     def descendantset(self, starts, stops=None):
-        '''set of all descendants of starts (incl), but stop walk at stops (excl)'''
+        '''
+        set of all descendants of starts (incl), but stop walk at stops (excl)
+        '''
         return self.inverse().ancestorset(starts, stops)
 
     def headsetofconnecteds(self, ixs):
-        '''subset of connected list of ixs so that no node has a descendant in it
+        '''
+        subset of connected list of ixs so that no node has a descendant in it
 
         By "connected list" we mean that if an ancestor and a descendant are in
-        the list, then so is at least one path connecting them.'''
+        the list, then so is at least one path connecting them.
+        '''
         raise NotImplementedError()
 
     def externalize(self, ix):