Show More
@@ -38,7 +38,7 b' def _verify(repo):' | |||||
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): |
@@ -549,4 +549,13 b' test hidden changeset are not cloned as ' | |||||
549 | o 0 public A |
|
549 | o 0 public A | |
550 |
|
550 | |||
551 |
|
551 | |||
|
552 | test verify repo containing hidden changesets, which should not abort just | |||
|
553 | because repo.cancopy() is False | |||
552 |
|
554 | |||
|
555 | $ cd ../initialrepo | |||
|
556 | $ hg verify | |||
|
557 | checking changesets | |||
|
558 | checking manifests | |||
|
559 | crosschecking files in changesets and manifests | |||
|
560 | checking files | |||
|
561 | 7 files, 8 changesets, 7 total revisions |
General Comments 0
You need to be logged in to leave comments.
Login now