martinvonz added a comment.

  In, @martinvonz wrote:
  > In, @yuja wrote:
  > > It seems incorrect to me to catch LookupError of `node` returned by
  > >  a namespace API, not by a user-specified node value.
  > The idea wasn't to catch those from the namespace API, but from 
changelog.rev() just after. The overly broad catching has bothered me before, 
so let me fix that and split this patch up.
  Actually, thinking more about, I think we should not even catch LookupError, 
so I ended up just deleting these lines. Thanks for making me check.
  >> I think the reason why catching `RepoLookupError` here was that
  >>  we historically used `repo.branchtip(changeid)`.
  > Ah, thanks for the information.

  rHG Mercurial


To: martinvonz, #hg-reviewers, yuja
Cc: yuja, mercurial-devel
Mercurial-devel mailing list

Reply via email to