##// END OF EJS Templates
test-convert-git: remove the read-only attribute of repository files...
Eduard-Cristian Stefan -
r16893:46ccd44d default
parent child Browse files
Show More
@@ -283,9 +283,12 b' damage git repository and convert again'
283 283
284 284 $ cat > damage.py <<EOF
285 285 > import os
286 > import stat
286 287 > for root, dirs, files in os.walk('git-repo4/.git/objects'):
287 288 > if files:
288 289 > path = os.path.join(root, files[0])
290 > if os.name == 'nt':
291 > os.chmod(path, stat.S_IWUSR)
289 292 > os.remove(path)
290 293 > break
291 294 > EOF
General Comments 0
You need to be logged in to leave comments. Login now