Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] Fix fossil detection on unix



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