Mercurial > hg
changeset 41773:151cc149b17f
tests: migrate to new method for getting copy info
Differential Revision: https://phab.mercurial-scm.org/D6013
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 27 Dec 2017 22:31:00 -0800 |
parents | 52d4cb162902 |
children | 2e2076c8c25f |
files | tests/test-annotate.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-annotate.t Mon Mar 26 10:41:42 2018 -0700 +++ b/tests/test-annotate.t Wed Dec 27 22:31:00 2017 -0800 @@ -445,8 +445,8 @@ > fparent1 = manifest1.get(fname, node.nullid) > fparent2 = manifest2.get(fname, node.nullid) > meta = {} - > copy = fctx.renamed() - > if copy and copy[0] != fname: + > copy = fctx.copysource() + > if copy and copy != fname: > raise error.Abort('copying is not supported') > if fparent2 != node.nullid: > changelist.append(fname)