Show More
@@ -988,9 +988,10 b' truncate the file' | |||||
988 | $ datafilepath=`ls corruption-test-repo/.hg/store/00changelog*.nd` |
|
988 | $ datafilepath=`ls corruption-test-repo/.hg/store/00changelog*.nd` | |
989 | $ f -s $datafilepath |
|
989 | $ f -s $datafilepath | |
990 | corruption-test-repo/.hg/store/00changelog-*.nd: size=121088 (glob) |
|
990 | corruption-test-repo/.hg/store/00changelog-*.nd: size=121088 (glob) | |
991 |
$ dd if=$datafilepath bs=1000 count=10 of=$datafilepath-tmp |
|
991 | $ dd if=$datafilepath bs=1000 count=10 of=$datafilepath-tmp | |
992 | 10+0 records in |
|
992 | 10+0 records in | |
993 | 10+0 records out |
|
993 | 10+0 records out | |
|
994 | * bytes * (glob) | |||
994 | $ mv $datafilepath-tmp $datafilepath |
|
995 | $ mv $datafilepath-tmp $datafilepath | |
995 | $ f -s $datafilepath |
|
996 | $ f -s $datafilepath | |
996 | corruption-test-repo/.hg/store/00changelog-*.nd: size=10000 (glob) |
|
997 | corruption-test-repo/.hg/store/00changelog-*.nd: size=10000 (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now