Show More
@@ -1946,6 +1946,7 b' class workingfilectx(committablefilectx)' | |||||
1946 | """ |
|
1946 | """ | |
1947 | wvfs = self._repo.wvfs |
|
1947 | wvfs = self._repo.wvfs | |
1948 | f = self._path |
|
1948 | f = self._path | |
|
1949 | wvfs.audit(f) | |||
1949 | if wvfs.isdir(f) and not wvfs.islink(f): |
|
1950 | if wvfs.isdir(f) and not wvfs.islink(f): | |
1950 | wvfs.rmtree(f, forcibly=True) |
|
1951 | wvfs.rmtree(f, forcibly=True) | |
1951 | for p in reversed(list(util.finddirs(f))): |
|
1952 | for p in reversed(list(util.finddirs(f))): |
@@ -125,8 +125,7 b' attack ../test' | |||||
125 | abort: path contains illegal component: ../test (glob) |
|
125 | abort: path contains illegal component: ../test (glob) | |
126 | [255] |
|
126 | [255] | |
127 | $ cat ../test/file |
|
127 | $ cat ../test/file | |
128 | cat: ../test/file: No such file or directory |
|
128 | data | |
129 | [1] |
|
|||
130 |
|
129 | |||
131 | attack /tmp/test |
|
130 | attack /tmp/test | |
132 |
|
131 |
General Comments 0
You need to be logged in to leave comments.
Login now