comparison hg @ 23161:6f31f46b8544

test-revert: make sure all 'tracked' files are really tracked When a file is missing in the 'parent' version and is tracked but missing in the working directory, which happens by the 'missing' or 'removed' types, and the 'clean' type in the working directory, the file does not exist in the working directory (unlike it would had the 'deleted' type been used). Thus, the *_missing_missing_tracked are not actually tracked and they end up testing the same state as *_missing_missing_untracked. To make them tracked, add a temporary file, just like we do for the delete case. For simplicity's sake, let's make sure the gen-revert-cases.py script always puts a file in the working directory, whether or not it's going to be deleted.
author Martin von Zweigbergk <martinvonz@google.com>
date Sun, 19 Oct 2014 22:19:22 -0700
parents 73e4a02e6d23
children 2ea9c9aa6e60
comparison
equal deleted inserted replaced
23160:4f4e6815f286 23161:6f31f46b8544