comparison tests/test-inherit-mode.t @ 50002:e358f6e0e50e

dirstate: do not write an empty dirstate just for backup This will get in the way when we get more strict about holding the lock when writing the dirstate. Instead, we simply don't copy dirstate files around if there are None at backup time. A couple of tests are impacted they no longer need to backup such "empty" dirstate.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 14 Feb 2023 23:05:18 +0100
parents 42d2b31cee0b
children 28dfb2df4ab9
comparison
equal deleted inserted replaced
50001:9313d8666a0f 50002:e358f6e0e50e
135 00660 ../push/.hg/00changelog.i 135 00660 ../push/.hg/00changelog.i
136 00770 ../push/.hg/cache/ 136 00770 ../push/.hg/cache/
137 00660 ../push/.hg/cache/branch2-base 137 00660 ../push/.hg/cache/branch2-base
138 00660 ../push/.hg/cache/rbc-names-v1 138 00660 ../push/.hg/cache/rbc-names-v1
139 00660 ../push/.hg/cache/rbc-revs-v1 139 00660 ../push/.hg/cache/rbc-revs-v1
140 00660 ../push/.hg/dirstate
141 00660 ../push/.hg/requires 140 00660 ../push/.hg/requires
142 00770 ../push/.hg/store/ 141 00770 ../push/.hg/store/
143 00660 ../push/.hg/store/00changelog.i 142 00660 ../push/.hg/store/00changelog.i
144 00660 ../push/.hg/store/00manifest.i 143 00660 ../push/.hg/store/00manifest.i
145 00770 ../push/.hg/store/data/ 144 00770 ../push/.hg/store/data/
158 00660 ../push/.hg/store/undo.backupfiles 157 00660 ../push/.hg/store/undo.backupfiles
159 00660 ../push/.hg/store/undo.phaseroots 158 00660 ../push/.hg/store/undo.phaseroots
160 00660 ../push/.hg/undo.bookmarks 159 00660 ../push/.hg/undo.bookmarks
161 00660 ../push/.hg/undo.branch 160 00660 ../push/.hg/undo.branch
162 00660 ../push/.hg/undo.desc 161 00660 ../push/.hg/undo.desc
163 00660 ../push/.hg/undo.dirstate
164 00770 ../push/.hg/wcache/ 162 00770 ../push/.hg/wcache/
165 163
166 164
167 Test that we don't lose the setgid bit when we call chmod. 165 Test that we don't lose the setgid bit when we call chmod.
168 Not all systems support setgid directories (e.g. HFS+), so 166 Not all systems support setgid directories (e.g. HFS+), so