Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dagutil.py @ 16687:e34106fa0dc3
cleanup: "raise SomeException()" -> "raise SomeException"
author | Brodie Rao <brodie@sf.io> |
---|---|
date | Sat, 12 May 2012 16:00:58 +0200 |
parents | 06c3667c259c |
children | 37e2bd560805 |
line wrap: on
line diff
--- a/mercurial/dagutil.py Sat May 12 16:00:57 2012 +0200 +++ b/mercurial/dagutil.py Sat May 12 16:00:58 2012 +0200 @@ -26,25 +26,25 @@ def nodeset(self): '''set of all node idxs''' - raise NotImplementedError() + raise NotImplementedError def heads(self): '''list of head ixs''' - raise NotImplementedError() + raise NotImplementedError def parents(self, ix): '''list of parents ixs of ix''' - raise NotImplementedError() + raise NotImplementedError def inverse(self): '''inverse DAG, where parents becomes children, etc.''' - raise NotImplementedError() + raise NotImplementedError def ancestorset(self, starts, stops=None): ''' set of all ancestors of starts (incl), but stop walk at stops (excl) ''' - raise NotImplementedError() + raise NotImplementedError def descendantset(self, starts, stops=None): ''' @@ -59,7 +59,7 @@ 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. ''' - raise NotImplementedError() + raise NotImplementedError def externalize(self, ix): '''return a list of (or set if given a set) of node ids'''