From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13680 invoked from network); 6 Apr 2009 17:46:12 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 6 Apr 2009 17:46:12 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 85494 invoked from network); 6 Apr 2009 17:46:04 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 6 Apr 2009 17:46:04 -0000 Received: (qmail 373 invoked by alias); 6 Apr 2009 17:45:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26815 Received: (qmail 355 invoked from network); 6 Apr 2009 17:45:54 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 6 Apr 2009 17:45:54 -0000 Received: from smtprelay07.ispgateway.de (smtprelay07.ispgateway.de [80.67.29.7]) by bifrost.dotsrc.org (Postfix) with ESMTP id 4E40482D4B6B for ; Mon, 6 Apr 2009 19:45:51 +0200 (CEST) Received: from [89.245.57.95] (helo=fsst.voodoo.lan) by smtprelay07.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1LqstK-0004rQ-Ly for zsh-workers@sunsite.dk; Mon, 06 Apr 2009 19:45:50 +0200 Received: from hawk by fsst.voodoo.lan with local (Exim 4.69) (envelope-from ) id 1Lqst8-0005Pl-Rc for zsh-workers@sunsite.dk; Mon, 06 Apr 2009 19:45:38 +0200 From: Frank Terbeck To: zsh-workers@sunsite.dk Subject: PATCH: (0/5) Updates for vcs_info Date: Mon, 6 Apr 2009 19:45:33 +0200 Message-Id: <1239039938-20782-1-git-send-email-ft@bewatermyfriend.org> X-Mailer: git-send-email 1.6.2.1.136.g8e24 X-Df-Sender: 430444 X-Virus-Scanned: ClamAV 0.92.1/9207/Mon Apr 6 13:58:21 2009 on bifrost X-Virus-Status: Clean This series adds features to the hg and git backends of vcs_info. It also fixes a bug in the hg backend in connection with very recent mercurial versions. There are no changes in the default behaviour of any backend. Frank Terbeck (5): vcs_info: add revision and "misc" argument to VCS_INFO_formats() Add git's sha1 hash as revision information Add information about hg's local revision number and the commit's hash contrib.yo: updates for get-revision, %i and %m The four patches above add features to the git and hg backends, including documentation. Make the hg backend work with new versions of mercurial This one fixes a problem with detecting hg freshly created hg repositories with very recent mercurial versions, which don't seem to create .hg/branch if there's only the 'default' branch. Reported by Andreas Korsten. Doc/Zsh/contrib.yo | 17 +++++++++ Functions/VCS_Info/Backends/VCS_INFO_detect_hg | 2 +- Functions/VCS_Info/Backends/VCS_INFO_get_data_bzr | 2 +- Functions/VCS_Info/Backends/VCS_INFO_get_data_cdv | 2 +- Functions/VCS_Info/Backends/VCS_INFO_get_data_cvs | 2 +- .../VCS_Info/Backends/VCS_INFO_get_data_darcs | 2 +- Functions/VCS_Info/Backends/VCS_INFO_get_data_git | 17 +++++++-- Functions/VCS_Info/Backends/VCS_INFO_get_data_hg | 39 ++++++++++++++++++-- Functions/VCS_Info/Backends/VCS_INFO_get_data_mtn | 2 +- Functions/VCS_Info/Backends/VCS_INFO_get_data_p4 | 2 +- Functions/VCS_Info/Backends/VCS_INFO_get_data_svk | 2 +- Functions/VCS_Info/Backends/VCS_INFO_get_data_svn | 2 +- Functions/VCS_Info/Backends/VCS_INFO_get_data_tla | 2 +- Functions/VCS_Info/VCS_INFO_bydir_detect | 2 +- Functions/VCS_Info/VCS_INFO_formats | 21 ++++++++++- 15 files changed, 97 insertions(+), 19 deletions(-)