tests/test-filelog.py.out
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 17 Oct 2014 09:02:30 -0700
changeset 23156 e630c176ceda
parent 16498 d76ba2090e0c
permissions -rw-r--r--
test-revert: replace 'removed' in working copy with 'untracked-deleted' The 'wccontent' variable has eight different states, four of them tracked, and the other four untracked (at least when the file existed in the parent revision). Among these eight states, 'removed' sticks out by lacking the 'untracked-' prefix despite resulting in an untracked state. To make the symmetry clearer, and to prepare for future patches, rename 'removed' to 'untracked-deleted', which is exactly what it is. Note that, unlike 'remove', 'deleted' is configured in gen-revert-cases.py to have content in the working directory and that that content is instead expected to be removed in the test script. However, no changes are needed to the test script, since it already contains 'hg forget *untracked*' and 'rm *deleted*', which together have the same effect as 'hg remove'. See additional motivation in earlier patch.

ERROR: FIXME: This is a known failure of filelog.size for data starting with \1\n
OK.