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

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Fri Oct 13 10:00:27 EDT 2017


yuja added a comment.


  In https://phab.mercurial-scm.org/D987#17308, @pulkit wrote:
  
  > In https://phab.mercurial-scm.org/D987#17141, @yuja wrote:
  >
  > > - do not try to find copy from the first n candidates, and show the message saying copy tracing is disabled due to too many candidates,
  >
  >
  > Should we just disable copy trace or fallback to the full copytracing algorithm? I like falling back to full copytracing rather than disabling straight away.
  
  
  Is the full tracing faster than the heuristics in that case? If not, falling back
  wouldn't be an option.
  
  >> - or show the message only when copy cannot be detected.
  > 
  > Did you mean, "show a message only when copy cannot be detected and we have more candidates than the limit"?
  
  Yes, but I prefer the former option, "don't search copy source because there
  are too many candidates", which seems easier to follow.

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