Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Fix fossil detection on unix
- X-seq: zsh-workers 30703
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] Fix fossil detection on unix
- Date: Fri, 28 Sep 2012 23:47:22 +0200
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
From: Baptiste Daroussin <baptiste.daroussin@xxxxxxxxx>
Here is a patch to fix the fossil detection in vcs_info when using
recent fossil on unix (the checkout file now defaults on .fslckout on
unix but remains FOSSIL on Windows.
---
Functions/VCS_Info/Backends/VCS_INFO_detect_fossil | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Functions/VCS_Info/Backends/VCS_INFO_detect_fossil b/Functions/VCS_Info/Backends/VCS_INFO_detect_fossil
index 5515283..a44b33e 100644
--- a/Functions/VCS_Info/Backends/VCS_INFO_detect_fossil
+++ b/Functions/VCS_Info/Backends/VCS_INFO_detect_fossil
@@ -7,7 +7,7 @@ setopt localoptions NO_shwordsplit
[[ $1 == '--flavours' ]] && return 1
VCS_INFO_check_com ${vcs_comm[cmd]} || return 1
-vcs_comm[detect_need_file]=_FOSSIL_
+vcs_comm[detect_need_file]="_FOSSIL_ .fslckout"
VCS_INFO_bydir_detect . || return 1
return 0
--
1.7.12.1.382.gb0576a6
Messages sorted by:
Reverse Date,
Date,
Thread,
Author