From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nickrob@snap.net.nz (Nick Roberts) Newsgroups: gmane.emacs.devel Subject: Re: incorrect working revision for the mercurial VC backend Date: Wed, 30 Dec 2009 20:02:27 +1300 Message-ID: <19258.64259.675779.876699@totara.tehura.co.nz> References: <19258.47991.673928.374725@totara.tehura.co.nz> <19258.52278.890330.878259@totara.tehura.co.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1262157795 12860 80.91.229.12 (30 Dec 2009 07:23:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Dec 2009 07:23:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alex Harsanyi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 30 08:23:08 2009 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 1NPstf-00036y-Uj for ged-emacs-devel@m.gmane.org; Wed, 30 Dec 2009 08:23:08 +0100 Original-Received: from localhost ([127.0.0.1]:57614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NPstg-0003q9-2T for ged-emacs-devel@m.gmane.org; Wed, 30 Dec 2009 02:23:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NPstZ-0003pv-A1 for emacs-devel@gnu.org; Wed, 30 Dec 2009 02:23:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NPstU-0003pT-Mq for emacs-devel@gnu.org; Wed, 30 Dec 2009 02:23:00 -0500 Original-Received: from [199.232.76.173] (port=33233 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NPstU-0003pN-Ha for emacs-devel@gnu.org; Wed, 30 Dec 2009 02:22:56 -0500 Original-Received: from mail10.snap.net.nz ([202.37.101.41]:46814 helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NPstT-0006EN-VR for emacs-devel@gnu.org; Wed, 30 Dec 2009 02:22:56 -0500 Original-Received: from totara (132.63.255.123.dynamic.snap.net.nz [123.255.63.132]) by viper.snap.net.nz (Postfix) with ESMTP id 4FCEF2F4249; Wed, 30 Dec 2009 20:02:29 +1300 (NZDT) Original-Received: by totara (Postfix, from userid 1000) id ACCF4C167; Wed, 30 Dec 2009 20:02:27 +1300 (NZDT) In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.2.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:119024 Archived-At: > I could not apply it. If I copy-paste it out of the email, patch rejects it: > > $ patch -p1 < vc-hg.patch > patching file vc-hg.el > Hunk #1 FAILED at 209. > 1 out of 1 hunk FAILED -- saving rejects to file vc-hg.el.rej I'm not sure how old your version of vc-hg.el is but it's a small patch which could probaly be easily applied manually. It's no big deal in this case but generally it would be good if you could switch to bzr so that you know your reports are against up-to-date source. > > Also, iget a quoted string, e.g. "\"290\"", which is why I used read. > > This is because you use "\"{rev}\"" as the template instead of > "{rev}". I used "{rev}" and I get just the revision e.g. 290. Doh! I've committed a change accordingly. -- Nick http://users.snap.net.nz/~nickrob