mercurial/statichttprepo.py
branchstable
changeset 13447 931a72e00efa
parent 13440 286a3720d472
child 13533 b4f5f76386f2
--- a/mercurial/statichttprepo.py	Thu Feb 10 09:03:06 2011 +0100
+++ b/mercurial/statichttprepo.py	Fri Feb 18 20:25:25 2011 +0100
@@ -112,7 +112,8 @@
         # check them
         for r in requirements:
             if r not in self.supported:
-                raise error.RepoError(_("requirement '%s' not supported") % r)
+                raise error.RequirementError(
+                        _("requirement '%s' not supported") % r)
 
         # setup store
         self.store = store.store(requirements, self.path, opener)