From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: help wanted for vc-hg.el Date: Thu, 21 Jun 2007 09:18:58 -0700 Message-ID: <200706211618.l5LGIwbe022312@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182442879 29582 80.91.229.12 (21 Jun 2007 16:21:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Jun 2007 16:21:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 21 18:21:15 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I1PPF-0004ko-Hg for ged-emacs-devel@m.gmane.org; Thu, 21 Jun 2007 18:21:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1PPD-0005SW-EL for ged-emacs-devel@m.gmane.org; Thu, 21 Jun 2007 12:21:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I1PPA-0005S5-GZ for emacs-devel@gnu.org; Thu, 21 Jun 2007 12:21:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I1PP6-0005Qf-S2 for emacs-devel@gnu.org; Thu, 21 Jun 2007 12:21:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1PP6-0005Qc-MC for emacs-devel@gnu.org; Thu, 21 Jun 2007 12:21:04 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I1PP4-0002Z9-9l for emacs-devel@gnu.org; Thu, 21 Jun 2007 12:21:03 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l5LGIwbe022312 for ; Thu, 21 Jun 2007 09:18:58 -0700 (PDT) Original-Lines: 33 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:73529 Archived-At: vc-hg.el has been checked in recently. Unfortunately Ivan Kanis, the vc-hg.el author does not have much time to maintain it. I implemented some of the missing functionality, but there are some things that still need to be done. Here's a tentative list: - thoroughly test and fix problems that are found - write regexps for log-view to understand the "hg log" output - implement vc-dired - implement vc-snapshot I have never used the 2 above, so I don't know much about them, or even if they make sense for Mercurial. - Implement Stefan Monnier's advice: vc-hg-registered and vc-hg-state Both of those functions should be super extra careful to fail gracefully in unexpected circumstances. The most important such case is when the `hg' executable is not available. The reason this is important is that any error there will prevent the user from even looking at the file :-( Ideally, just like in vc-arch and vc-cvs, checking that the file is under mercurial's control and extracting the current revision should be done without even using `hg' (this way even if you don't have `hg' installed, Emacs is able to tell you this file is under mercurial's control). Help would be greatly appreciated. Thanks --dan