Mercurial > hg
diff mercurial/ignore.py @ 23012:bdb3349cf7ab
changectx: wrap the `changeid` processing in a try/except
We are going to introduce more precise exception classes for filtered nodes. So
we will have to upgrade them to the `RepoLookupError` level here. We wrap the
whole thing into a try/except to ease this future catching. Some of the current
exception catching will be moved in this one. But the current changeset focuses
on code movement only.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Wed, 15 Oct 2014 16:05:24 -0700 |
parents | 0127366df8fe |
children | 8cf7f0c4cb14 |