Show More
@@ -47,4 +47,4 b' def admin_verify(ui, repo, **opts):' | |||||
47 | ui.status(_(b"running %s\n") % name) |
|
47 | ui.status(_(b"running %s\n") % name) | |
48 | errors = func() |
|
48 | errors = func() | |
49 | if errors: |
|
49 | if errors: | |
50 |
ui.warn(_(b"found %d errors\n") % |
|
50 | ui.warn(_(b"found %d errors\n") % errors) |
@@ -132,6 +132,16 b' Entire changelog and manifest log missin' | |||||
132 | dirstate inconsistent with current parent's manifest |
|
132 | dirstate inconsistent with current parent's manifest | |
133 | 1 dirstate errors |
|
133 | 1 dirstate errors | |
134 | [1] |
|
134 | [1] | |
|
135 | ||||
|
136 | We can check the dirstate in isolation | |||
|
137 | $ hg admin::verify -c dirstate | |||
|
138 | running 1 checks | |||
|
139 | running working-copy.dirstate | |||
|
140 | checking dirstate | |||
|
141 | warning: ignoring unknown working parent c5ddb05ab828! | |||
|
142 | file marked as tracked in p1 (000000000000) but not in manifest1 | |||
|
143 | found 1 errors | |||
|
144 | ||||
135 | $ cp -R .hg/store-full/. .hg/store |
|
145 | $ cp -R .hg/store-full/. .hg/store | |
136 |
|
146 | |||
137 | Entire changelog and filelog missing |
|
147 | Entire changelog and filelog missing |
General Comments 0
You need to be logged in to leave comments.
Login now