equal
deleted
inserted
replaced
168 hg -R git-repo4-hg log -v |
168 hg -R git-repo4-hg log -v |
169 |
169 |
170 echo '% --sourceorder should fail' |
170 echo '% --sourceorder should fail' |
171 hg convert --sourcesort git-repo4 git-repo4-sourcesort-hg |
171 hg convert --sourcesort git-repo4 git-repo4-sourcesort-hg |
172 |
172 |
|
173 echo '% damage git repository and convert again' |
|
174 cat > damage.py <<EOF |
|
175 import os |
|
176 for root, dirs, files in os.walk('git-repo4/.git/objects'): |
|
177 if files: |
|
178 path = os.path.join(root, files[0]) |
|
179 os.remove(path) |
|
180 break |
|
181 EOF |
|
182 python damage.py |
|
183 hg convert git-repo4 git-repo4-broken-hg 2>&1 | \ |
|
184 grep 'abort:' | sed 's/abort:.*/abort:/g' |
|
185 |
173 true |
186 true |