Mercurial > hg
comparison tests/test-copy2 @ 4677:de8ec7e1753a
dirstate.status: if a file is marked as copied, consider it modified
After a "hg copy --force --after somefile cleanfile", cleanfile
shouldn't be considered clean anymore.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Thu, 21 Jun 2007 23:42:06 -0300 |
parents | de612b5f8d59 |
children | 719c402258ee |
comparison
equal
deleted
inserted
replaced
4676:0f6e2b37512d | 4677:de8ec7e1753a |
---|---|
42 cp bar baz | 42 cp bar baz |
43 hg add baz | 43 hg add baz |
44 hg cp -A bar baz | 44 hg cp -A bar baz |
45 hg st -C | 45 hg st -C |
46 | 46 |
47 echo "# foo was clean:" | |
48 hg st -AC foo | |
49 echo "# but it's considered modified after a copy --after --force" | |
50 hg copy -Af bar foo | |
51 hg st -AC foo | |
52 | |
47 exit 0 | 53 exit 0 |