Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 2778:fdc232d8a193
Move repo.verify
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 07 Aug 2006 16:27:09 -0500 |
parents | 557ea210fd9f |
children | 987c31e2a08c |
comparison
equal
deleted
inserted
replaced
2777:81d7db1aa0fb | 2778:fdc232d8a193 |
---|---|
2323 | 2323 |
2324 This command tries to fix the repository status after an interrupted | 2324 This command tries to fix the repository status after an interrupted |
2325 operation. It should only be necessary when Mercurial suggests it. | 2325 operation. It should only be necessary when Mercurial suggests it. |
2326 """ | 2326 """ |
2327 if repo.recover(): | 2327 if repo.recover(): |
2328 return repo.verify() | 2328 return hg.verify(repo) |
2329 return 1 | 2329 return 1 |
2330 | 2330 |
2331 def remove(ui, repo, *pats, **opts): | 2331 def remove(ui, repo, *pats, **opts): |
2332 """remove the specified files on the next commit | 2332 """remove the specified files on the next commit |
2333 | 2333 |
2877 This will perform an extensive check of the repository's | 2877 This will perform an extensive check of the repository's |
2878 integrity, validating the hashes and checksums of each entry in | 2878 integrity, validating the hashes and checksums of each entry in |
2879 the changelog, manifest, and tracked files, as well as the | 2879 the changelog, manifest, and tracked files, as well as the |
2880 integrity of their crosslinks and indices. | 2880 integrity of their crosslinks and indices. |
2881 """ | 2881 """ |
2882 return repo.verify() | 2882 return hg.verify(repo) |
2883 | 2883 |
2884 # Command options and aliases are listed here, alphabetically | 2884 # Command options and aliases are listed here, alphabetically |
2885 | 2885 |
2886 table = { | 2886 table = { |
2887 "^add": | 2887 "^add": |