Mercurial > hg
view tests/test-requires @ 11538:16fe98804fd8 stable
workingfilectx.cmp: invert boolean return value
Apparently we mostly used filectx.cmp(workingfilectx.read()), so no error
was ever triggered, but since all cmp() methods return True when content
are different, that == should in fact be !=
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Fri, 09 Jul 2010 11:59:48 +0900 |
parents | 8f18e31c4441 |
children |
line wrap: on
line source
#!/bin/sh mkdir t cd t hg init echo a > a hg add a hg commit -m test -d "1000000 0" rm .hg/requires hg tip echo indoor-pool > .hg/requires hg tip true