D987: copies: add a config to limit the number of candidates to check in heuristics

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Wed Oct 11 10:55:54 EDT 2017


yuja requested changes to this revision.
yuja added a comment.
This revision now requires changes to proceed.


  Oops, the default value (5 vs 100) wasn't my point. I doubt if taking the first n
  candidates would be a good "heuristic."
  
  If I understand correctly, it may miss the copy information only if the file is
  out of the n-candidates list. I think it would be hard for users to understand
  why the copy wasn't detected. That's my concern.
  
  (marked as "request changes" to flag discussion is ongoing. no new version is requested.)

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D987

To: pulkit, #hg-reviewers, yuja
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list