##// END OF EJS Templates
clfilter: ensure context raise RepoLookupError when the revision is filtered...
Pierre-Yves David -
r18084:ee3b5fb6 default
parent child Browse files
Show More
@@ -25,8 +25,12 b' class changectx(object):'
25 self._repo = repo
25 self._repo = repo
26
26
27 if isinstance(changeid, int):
27 if isinstance(changeid, int):
28 try:
29 self._node = repo.changelog.node(changeid)
30 except IndexError:
31 raise error.RepoLookupError(
32 _("unknown revision '%s'") % changeid)
28 self._rev = changeid
33 self._rev = changeid
29 self._node = repo.changelog.node(changeid)
30 return
34 return
31 if isinstance(changeid, long):
35 if isinstance(changeid, long):
32 changeid = str(changeid)
36 changeid = str(changeid)
General Comments 0
You need to be logged in to leave comments. Login now