equal
deleted
inserted
replaced
36 ui = repo.ui |
36 ui = repo.ui |
37 cl = repo.changelog |
37 cl = repo.changelog |
38 mf = repo.manifest |
38 mf = repo.manifest |
39 lrugetctx = util.lrucachefunc(repo.changectx) |
39 lrugetctx = util.lrucachefunc(repo.changectx) |
40 |
40 |
41 if not repo.cancopy(): |
41 if not repo.url().startswith('file:'): |
42 raise util.Abort(_("cannot verify bundle or remote repos")) |
42 raise util.Abort(_("cannot verify bundle or remote repos")) |
43 |
43 |
44 def err(linkrev, msg, filename=None): |
44 def err(linkrev, msg, filename=None): |
45 if linkrev is not None: |
45 if linkrev is not None: |
46 badrevs.add(linkrev) |
46 badrevs.add(linkrev) |