comparison tests/test-dirstate.t @ 49550:fc719967efd0 stable

dirstate-v2: fix edge case where entries aren't sorted See previous commit for more details.
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 26 Oct 2022 18:46:56 +0200
parents e255a5355971
children 964a913343a2
comparison
equal deleted inserted replaced
49549:e255a5355971 49550:fc719967efd0
255 $ mkdir src 255 $ mkdir src
256 $ mkdir src/dirstate 256 $ mkdir src/dirstate
257 $ touch src/dirstate/file1 src/dirstate/file2 src/dirstate.rs 257 $ touch src/dirstate/file1 src/dirstate/file2 src/dirstate.rs
258 $ touch file1 file2 258 $ touch file1 file2
259 $ hg commit -Aqm1 259 $ hg commit -Aqm1
260 #if rhg no-rust dirstate-v2 260 $ hg st
261 $ hg st 261 $ cd ..
262 ! src/dirstate/file1 (known-bad-output !)
263 ! src/dirstate/file2 (known-bad-output !)
264 ? src/dirstate/file1 (known-bad-output !)
265 ? src/dirstate/file2 (known-bad-output !)
266 expected a value, found none (known-bad-output !)
267 [255]
268 #else
269 $ hg st
270 #endif
271 $ cd ..