Submitter | Anton Shestakov |
---|---|
Date | Jan. 26, 2019, 4:58 a.m. |
Message ID | <60b308740000fef7ed43.1548478701@neuro> |
Download | mbox | patch |
Permalink | /patch/38064/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/dagop.py b/mercurial/dagop.py --- a/mercurial/dagop.py +++ b/mercurial/dagop.py @@ -221,7 +221,7 @@ def revdescendants(repo, revs, followfir Scan ends at the stopdepth (exlusive) if specified. Revisions found earlier than the startdepth are omitted. """ - if startdepth is None and (stopdepth is None or stopdepth == maxlogdepth): + if startdepth is None and (stopdepth is None or stopdepth >= maxlogdepth): gen = _genrevdescendants(repo, revs, followfirst) else: gen = _genrevdescendantsofdepth(repo, revs, followfirst,