tests/bundles/hgweb+obs.hg
author Martin von Zweigbergk <martinvonz@google.com>
Mon, 04 Jan 2016 10:13:29 -0800
changeset 27720 89f49813526c
parent 18401 683a76a07325
permissions -rw-r--r--
status: change + back out == clean (API) After backing out a change, so the file contents is equal to a previous revision of itself, we currently report the status between the two equal revisions as modified. This is because context._buildstatus() reports any file whose new nodeid is not equal to _newnode as modified. That magic nodeid is given only to files added or modified in the working directory, so any file whose nodeid has changed between two revisions will be reported as modified. Fix by simply comparing the file contents for all cases where the nodeid changed, whether they are in the working copy or committed. Marking with (API) as it subtly changes the semantics of the method.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18401
683a76a07325 hgweb: add test regarding filtering and hgweb
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
     1
(binary:application/octet-stream)