[PATCH 2 of 2] bash_completion: allow remove to complete normal files
Bryan O'Sullivan
bos at serpentine.com
Thu Mar 14 16:42:06 CDT 2013
# HG changeset patch
# User Bryan O'Sullivan <bryano at fb.com>
# Date 1363297271 25200
# Node ID 9fac83b980b22c7a296e96026d67f32ba88c150b
# Parent 3e6874c851bebe2ca4b3e010a67291f5b654f256
bash_completion: allow remove to complete normal files
Previously, we only completed files that had been manually deleted. That
behaviour made no sense.
diff --git a/contrib/bash_completion b/contrib/bash_completion
--- a/contrib/bash_completion
+++ b/contrib/bash_completion
@@ -255,7 +255,7 @@ shopt -s extglob
_hg_status "mar"
;;
remove)
- _hg_status "d"
+ _hg_status "nmd"
;;
forget)
_hg_status "a"
More information about the Mercurial-devel
mailing list