Patchwork D1715: completion: don't suggest clean files to revert

login
register
mail settings
Submitter phabricator
Date Dec. 20, 2017, 1:31 p.m.
Message ID <db1f1e32b0cdfc4ce3bbd41a22ab5758@localhost.localdomain>
Download mbox | patch
Permalink /patch/26370/
State Not Applicable
Headers show

Comments

phabricator - Dec. 20, 2017, 1:31 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGfdbe4eafa9c2: completion: don&#039;t suggest clean files to revert (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1715?vs=4530&id=4559

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

AFFECTED FILES
  contrib/bash_completion

CHANGE DETAILS




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

Patch

diff --git a/contrib/bash_completion b/contrib/bash_completion
--- a/contrib/bash_completion
+++ b/contrib/bash_completion
@@ -309,7 +309,7 @@ 
             _hg_status "mar"
         ;;
         revert)
-            _hg_debugpathcomplete
+            _hg_status "mard"
         ;;
         clone)
             local count=$(_hg_count_non_option)