Submitter | phabricator |
---|---|
Date | Feb. 7, 2022, 6:40 a.m. |
Message ID | <differential-rev-PHID-DREV-wkamykaux7o67gghytcc-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50468/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/hgext/notify.py b/hgext/notify.py --- a/hgext/notify.py +++ b/hgext/notify.py @@ -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