changeset 48717 | ae27a0684e75 |
parent 45942 | 89a2afe31e82 |
child 48875 | 6000f5b25c9b |
--- a/hgext/notify.py Thu Feb 03 18:14:11 2022 +0100 +++ b/hgext/notify.py Sun Feb 06 19:14:51 2022 +0300 @@ -435,7 +435,10 @@ if spec is None: subs.add(sub) continue - revs = self.repo.revs(b'%r and %d:', spec, ctx.rev()) + try: + revs = self.repo.revs(b'%r and %d:', spec, ctx.rev()) + except error.RepoLookupError: + continue if len(revs): subs.add(sub) continue