comparison tests/test-merge1.t @ 39609:c8514f858788

tests: stabilize change for handling not quoting non-empty-directory The change originated in cb1329738d64. I suspect the problem is with the combination of (re) and the '\' to '/' retry on Windows. I've no idea if py3 on Windows needs the quoting, since it can't even run `hg` with no arguments. (It's dying somewhere on the ctype declarations when win32.py is imported.)
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 12 Sep 2018 23:10:59 -0400
parents cb1329738d64
children 07e181ed82ef
comparison
equal deleted inserted replaced
39608:5e78c100a215 39609:c8514f858788
28 Test interrupted updates by having a non-empty dir with the same name as one 28 Test interrupted updates by having a non-empty dir with the same name as one
29 of the files in a commit we're updating to 29 of the files in a commit we're updating to
30 30
31 $ mkdir b && touch b/nonempty 31 $ mkdir b && touch b/nonempty
32 $ hg up 32 $ hg up
33 abort: Unlinking directory not permitted: '?\$TESTTMP/t/b'? (re) (windows !) 33 abort: Unlinking directory not permitted: *$TESTTMP/t/b* (glob) (windows !)
34 abort: Directory not empty: '?\$TESTTMP/t/b'? (re) (no-windows !) 34 abort: Directory not empty: '?\$TESTTMP/t/b'? (re) (no-windows !)
35 [255] 35 [255]
36 $ hg ci 36 $ hg ci
37 abort: last update was interrupted 37 abort: last update was interrupted
38 (use 'hg update' to get a consistent checkout) 38 (use 'hg update' to get a consistent checkout)