D4426: zsh_completion: use revsets to exclude this rev from suggestions to hg merge

av6 (Anton Shestakov) phabricator at mercurial-scm.org
Mon Sep 3 07:09:00 EDT 2018


av6 added a comment.


  Now it's only one call to hg. All possible branches included, even if hg merge that-branch would complain (see my comment above), because in completions it's better to give extra suggestions than to miss some.
  
  But this "revision numbers + branch names" got me thinking, maybe it should also suggest hashes, since some people prefer them? Specifically, `{hash|shortest}`, so that it doesn't take too much space.

REPOSITORY
  rHG Mercurial

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

To: av6, #hg-reviewers
Cc: spectral, mjpieters, mercurial-devel


More information about the Mercurial-devel mailing list