equal
deleted
inserted
replaced
6389 op = bundle2.processbundle(repo, gen, lambda: tr) |
6389 op = bundle2.processbundle(repo, gen, lambda: tr) |
6390 tr.close() |
6390 tr.close() |
6391 except error.BundleUnknownFeatureError as exc: |
6391 except error.BundleUnknownFeatureError as exc: |
6392 raise util.Abort(_('%s: unknown bundle feature, %s') |
6392 raise util.Abort(_('%s: unknown bundle feature, %s') |
6393 % (fname, exc), |
6393 % (fname, exc), |
6394 hint=_("see https://mercurial.selenic.com/" |
6394 hint=_("see https://mercurial-scm.org/" |
6395 "wiki/BundleFeature for more " |
6395 "wiki/BundleFeature for more " |
6396 "information")) |
6396 "information")) |
6397 finally: |
6397 finally: |
6398 if tr: |
6398 if tr: |
6399 tr.release() |
6399 tr.release() |
6534 This will perform an extensive check of the repository's |
6534 This will perform an extensive check of the repository's |
6535 integrity, validating the hashes and checksums of each entry in |
6535 integrity, validating the hashes and checksums of each entry in |
6536 the changelog, manifest, and tracked files, as well as the |
6536 the changelog, manifest, and tracked files, as well as the |
6537 integrity of their crosslinks and indices. |
6537 integrity of their crosslinks and indices. |
6538 |
6538 |
6539 Please see http://mercurial.selenic.com/wiki/RepositoryCorruption |
6539 Please see https://mercurial-scm.org/wiki/RepositoryCorruption |
6540 for more information about recovery from corruption of the |
6540 for more information about recovery from corruption of the |
6541 repository. |
6541 repository. |
6542 |
6542 |
6543 Returns 0 on success, 1 if errors are encountered. |
6543 Returns 0 on success, 1 if errors are encountered. |
6544 """ |
6544 """ |
6548 def version_(ui): |
6548 def version_(ui): |
6549 """output version and copyright information""" |
6549 """output version and copyright information""" |
6550 ui.write(_("Mercurial Distributed SCM (version %s)\n") |
6550 ui.write(_("Mercurial Distributed SCM (version %s)\n") |
6551 % util.version()) |
6551 % util.version()) |
6552 ui.status(_( |
6552 ui.status(_( |
6553 "(see http://mercurial.selenic.com for more information)\n" |
6553 "(see https://mercurial-scm.org for more information)\n" |
6554 "\nCopyright (C) 2005-2015 Matt Mackall and others\n" |
6554 "\nCopyright (C) 2005-2015 Matt Mackall and others\n" |
6555 "This is free software; see the source for copying conditions. " |
6555 "This is free software; see the source for copying conditions. " |
6556 "There is NO\nwarranty; " |
6556 "There is NO\nwarranty; " |
6557 "not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" |
6557 "not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" |
6558 )) |
6558 )) |