Skip to content
Snippets Groups Projects
Commit 14c87708 authored by Phil Cohen's avatar Phil Cohen
Browse files

arbitraryfilecontext: skip the cmp fast path if any side is a symlink

`filecmp` follows symlinks by default, which a `filectx.cmp()` call should not
be doing as it should only compare the  requested entry. After this patch, only
the contexts' data are compared, which is the correct contract.

This is a corrected version of D1122.

Differential Revision: https://phab.mercurial-scm.org/D1165
parent 2e847705
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment