branch | stable |
changeset 20530 | 78f547cdc362 |
parent 18003 | e1e181a64de7 |
child 22933 | 3a60cd44e619 |
--- a/mercurial/verify.py Wed Feb 19 21:16:43 2014 +0900 +++ b/mercurial/verify.py Wed Feb 19 22:19:45 2014 +0900 @@ -38,7 +38,7 @@ mf = repo.manifest lrugetctx = util.lrucachefunc(repo.changectx) - if not repo.cancopy(): + if not repo.url().startswith('file:'): raise util.Abort(_("cannot verify bundle or remote repos")) def err(linkrev, msg, filename=None):