equal
deleted
inserted
replaced
64 return False |
64 return False |
65 maxrevs = repo.ui.configint('experimental', 'obshashrange.max-revs', None) |
65 maxrevs = repo.ui.configint('experimental', 'obshashrange.max-revs', None) |
66 if maxrevs is not None and maxrevs < len(repo.unfiltered()): |
66 if maxrevs is not None and maxrevs < len(repo.unfiltered()): |
67 return False |
67 return False |
68 return True |
68 return True |
|
69 |
|
70 class MultipleSuccessorsError(RuntimeError): |
|
71 """Exception raised by _singlesuccessor when multiple successor sets exists |
|
72 |
|
73 The object contains the list of successorssets in its 'successorssets' |
|
74 attribute to call to easily recover. |
|
75 """ |
|
76 |
|
77 def __init__(self, successorssets): |
|
78 self.successorssets = successorssets |