Mercurial > hg
changeset 22137:2cfe5ec47803
test-revert: add case where file exists neither in "base" nor in "parent"
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 27 Jun 2014 18:02:09 +0200 |
parents | a29574cb8552 |
children | 80206e63c3cc |
files | tests/test-revert.t |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-revert.t Fri Jun 27 18:01:16 2014 +0200 +++ b/tests/test-revert.t Fri Jun 27 18:02:09 2014 +0200 @@ -443,6 +443,8 @@ > 'added': [None, 'parent'], > # removed: file exist in base but is removed from parent > 'removed': ['base', None], + > # file exist neither in base not in parent + > 'missing': [None, None], > } > > # content of file in working copy @@ -495,6 +497,7 @@ $ python gen-revert-cases.py filelist added_clean clean_clean + missing_clean modified_clean removed_clean @@ -650,6 +653,9 @@ ### revert for: clean_clean no changes needed to clean_clean + ### revert for: missing_clean + missing_clean: no such file in rev * (glob) + ### revert for: modified_clean no changes needed to modified_clean @@ -691,6 +697,9 @@ ### revert for: clean_clean + ### revert for: missing_clean + missing_clean: no such file in rev * (glob) + ### revert for: modified_clean ### revert for: removed_clean