Mercurial > hg
diff tests/test-mv-cp-st-diff.t @ 27719:7ce8a13b8d77
convert: use manifest.diff() instead of ctx.status()
mercurial_source.getchanges() seems to care about files whose nodeid
has changed even if their contents has not (i.e. it has been
reverted/backed out). The method uses ctx1.status(ctx2) to find
differencing files. However, that method is currently broken and
reports reverted changes as modified. In order to fix that method, we
first need to rewrite getchanges() using manifest.diff(), which does
report reverted files as modified (because it's about differences in
the manifest, so about nodeids).
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sat, 09 Jan 2016 22:58:10 -0800 |
parents | c48924787eaa |
children | 4441705b7111 |