Mercurial > public > mercurial-scm > hg
diff mercurial/context.py @ 11540:2370e270a29a stable
filelog: test behaviour for data starting with "\1\n"
Because "\1\n" is a separator for metadata, data starting with "\1\n" is
handled specifically. It was not tested.
size() call return incorrect data if original data had been "\1\n-escaped".
There's no obvious way to fix it for now, just flag the error in the code
and add an "expected failure" kind of test.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Mon, 05 Jul 2010 18:43:46 +0900 |
parents | a463e3c50212 |
children | ce95d8b87d22 |