Show More
@@ -57,7 +57,8 b' confused with a file with the exec bit s' | |||
|
57 | 57 | > extensions.wrapfunction(context.workingctx, '_checklookup', overridechecklookup) |
|
58 | 58 | > def overridechecklookup(orig, self, files): |
|
59 | 59 | > # make an update that changes the dirstate from underneath |
|
60 | > self._repo.ui.system(self._repo.ui.config('dirstaterace', 'command'), cwd=self._repo.root) | |
|
60 | > self._repo.ui.system(r"sh '$TESTTMP/dirstaterace.sh'", | |
|
61 | > cwd=self._repo.root) | |
|
61 | 62 | > return orig(self, files) |
|
62 | 63 | > EOF |
|
63 | 64 | |
@@ -73,8 +74,11 b' XXX Note that this returns M for files t' | |||
|
73 | 74 | definitely a bug, but the fix for that is hard and the next status run is fine |
|
74 | 75 | anyway. |
|
75 | 76 | |
|
76 | $ hg status --config extensions.dirstaterace=$TESTTMP/dirstaterace.py \ | |
|
77 |
> |
|
|
77 | $ cat > $TESTTMP/dirstaterace.sh <<EOF | |
|
78 | > rm b && rm -r dir1 && rm d && mkdir d && rm e && mkdir e | |
|
79 | > EOF | |
|
80 | ||
|
81 | $ hg status --config extensions.dirstaterace=$TESTTMP/dirstaterace.py | |
|
78 | 82 | M d |
|
79 | 83 | M e |
|
80 | 84 | ! b |
General Comments 0
You need to be logged in to leave comments.
Login now