##// END OF EJS Templates
test-dirstate: print something when the check is skipped...
Raphaël Gomès -
r50052:682b0ac9 stable
parent child Browse files
Show More
@@ -136,6 +136,8 b' valid.'
136 136 > # Non-Rust always rewrites the whole dirstate
137 137 > if [ $# -eq 1 ] || ([ -n "$HGMODULEPOLICY" ] && [ -z "${HGMODULEPOLICY##*rust*}" ]) || [ -n "$RHG_INSTALLED_AS_HG" ]; then
138 138 > test $current_uid = $(find_dirstate_uuid)
139 > else
140 > echo "not testing because using Python implementation"
139 141 > fi
140 142 > }
141 143
@@ -156,6 +158,7 b' Nothing changes here'
156 158 $ dirstate_data_files | wc -l
157 159 *1 (re)
158 160 $ dirstate_uuid_has_not_changed
161 not testing because using Python implementation (no-rust no-rhg !)
159 162
160 163 Trigger an append with a small change
161 164
@@ -165,6 +168,7 b' Trigger an append with a small change'
165 168 $ dirstate_data_files | wc -l
166 169 *1 (re)
167 170 $ dirstate_uuid_has_not_changed
171 not testing because using Python implementation (no-rust no-rhg !)
168 172
169 173 Unused bytes counter is non-0 when appending
170 174 $ touch file
@@ -178,6 +182,7 b' Trigger a rust/rhg run which updates the'
178 182 $ dirstate_data_files | wc -l
179 183 *1 (re)
180 184 $ dirstate_uuid_has_not_changed
185 not testing because using Python implementation (no-rust no-rhg !)
181 186
182 187 $ hg debugstate --docket | grep unused
183 188 number of unused bytes: 0 (no-rust no-rhg !)
General Comments 0
You need to be logged in to leave comments. Login now