Mercurial > public > mercurial-scm > hg-stable
diff tests/test-mv-cp-st-diff.t @ 15775:91eb4512edd0
copies: rewrite copy detection for non-merge users
The existing copy detection API was designed with merge in mind and
was ill-suited for doing status/diff. The new pathcopies
implementation gives more accurate, easier to use results for
comparing two revisions, and is much simpler to understand.
Test notes:
- test-mv-cp-st.t results finds more renames in the reverse direction now
- test-mq-merge.t was always wrong and duplicated a copy in diff that
was already present in one of the parent revisions
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 04 Jan 2012 17:55:30 -0600 |
parents | 9910f60a37ee |
children | 4f8054d3171b |
line wrap: on
line diff
--- a/tests/test-mv-cp-st-diff.t Wed Jan 04 15:48:02 2012 -0600 +++ b/tests/test-mv-cp-st-diff.t Wed Jan 04 17:55:30 2012 -0600 @@ -560,6 +560,7 @@ - parent to root: --rev . --rev 0 M a + b R b diff --git a/a b/a @@ -611,6 +612,7 @@ - parent to branch: --rev . --rev 2 M a + b A x/y R b @@ -906,6 +908,7 @@ - parent to root: --rev . --rev 0 M a + b R b R c @@ -975,6 +978,7 @@ - parent to branch: --rev . --rev 2 M a + b A x/y R b R c