Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-addremove-similar @ 4471:736e49292809
addremove: comparing two empty files caused ZeroDivisionError
(found by Giorgos Keramidas)
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 01 Jun 2007 16:00:40 +0200 |
parents | 6cb6cfe43c5d |
children | 8d982aef0be1 |
comparison
equal
deleted
inserted
replaced
4470:1196998c62e3 | 4471:736e49292809 |
---|---|
13 python -c 'for x in range(10,10000): print x' > another-file | 13 python -c 'for x in range(10,10000): print x' > another-file |
14 | 14 |
15 hg addremove -s50 | 15 hg addremove -s50 |
16 | 16 |
17 hg commit -m B | 17 hg commit -m B |
18 | |
19 echo % comparing two empty files caused ZeroDivisionError in the past | |
20 hg update -C 0 | |
21 rm empty-file | |
22 touch another-empty-file | |
23 hg addremove -s50 | |
18 | 24 |
19 cd .. | 25 cd .. |
20 | 26 |
21 hg init rep2; cd rep2 | 27 hg init rep2; cd rep2 |
22 | 28 |