Mercurial > hg
view tests/README @ 27158:522ffc189671
webcommands: get correct parents when comparing a removed file (issue4962)
When comparing a file that was removed at the current revision, parents used to
show grandparents instead, due to how fctx was "shifted" from the current
revision to its p1. Let's not do that.
The fix is pretty much copied from webcommands.filediff().
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 28 Nov 2015 16:02:22 +0800 |
parents | 4b0fc75f9403 |
children |
line wrap: on
line source
To run the tests, do: cd tests/ python run-tests.py See https://mercurial-scm.org/wiki/WritingTests for more information on writing tests.