From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22767 invoked by alias); 28 Sep 2012 21:56:18 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30703 Received: (qmail 908 invoked from network); 28 Sep 2012 21:56:16 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at bewatermyfriend.org does not designate permitted sender hosts) From: Frank Terbeck To: zsh-workers@zsh.org Subject: [PATCH] Fix fossil detection on unix Date: Fri, 28 Sep 2012 23:47:22 +0200 Message-Id: <1348868842-25163-1-git-send-email-ft@bewatermyfriend.org> X-Mailer: git-send-email 1.7.12.1.382.gb0576a6 X-Df-Sender: [pbs]NDMwNDQ0 From: Baptiste Daroussin 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