equal
deleted
inserted
replaced
30 cut = None |
30 cut = None |
31 if startdepth is None: |
31 if startdepth is None: |
32 startdepth = 0 |
32 startdepth = 0 |
33 if stopdepth is None: |
33 if stopdepth is None: |
34 stopdepth = _maxlogdepth |
34 stopdepth = _maxlogdepth |
35 if stopdepth <= 0: |
35 if stopdepth == 0: |
36 return |
36 return |
|
37 if stopdepth < 0: |
|
38 raise error.ProgrammingError('negative stopdepth') |
37 |
39 |
38 cl = repo.changelog |
40 cl = repo.changelog |
39 |
41 |
40 # load input revs lazily to heap so earlier revisions can be yielded |
42 # load input revs lazily to heap so earlier revisions can be yielded |
41 # without fully computing the input revs |
43 # without fully computing the input revs |