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: Re: show merge info for git vc-log Date: Wed, 8 Jul 2009 22:51:57 -0700 (PDT) Message-ID: <200907090551.n695pvZ0000269@godzilla.ics.uci.edu> References: <200907071833.n67IXEEQ019584@godzilla.ics.uci.edu> <87tz1of5u2.fsf@sphinx.net.ru> <200907082044.n68KiJYN022678@godzilla.ics.uci.edu> <87hbxmj1tk.fsf@tux.homenetwork> <200907082208.n68M8Ixc024022@godzilla.ics.uci.edu> <87zlbezbyo.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247118840 11394 80.91.229.12 (9 Jul 2009 05:54:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jul 2009 05:54:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 09 07:53:53 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 1MOmZs-00048n-85 for ged-emacs-devel@m.gmane.org; Thu, 09 Jul 2009 07:53:52 +0200 Original-Received: from localhost ([127.0.0.1]:35015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOmZr-0004QC-JV for ged-emacs-devel@m.gmane.org; Thu, 09 Jul 2009 01:53:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOmZj-0004N8-Dv for emacs-devel@gnu.org; Thu, 09 Jul 2009 01:53:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOmZe-0004G0-Iq for emacs-devel@gnu.org; Thu, 09 Jul 2009 01:53:42 -0400 Original-Received: from [199.232.76.173] (port=46801 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOmZe-0004Fi-7v for emacs-devel@gnu.org; Thu, 09 Jul 2009 01:53:38 -0400 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:51275) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MOmZd-0007v8-NI for emacs-devel@gnu.org; Thu, 09 Jul 2009 01:53:37 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n695pw3c007544; Wed, 8 Jul 2009 22:51:58 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n695pvZ0000269; Wed, 8 Jul 2009 22:51:57 -0700 (PDT) In-Reply-To: <87zlbezbyo.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Thu, 09 Jul 2009 07:01:35 +0200") Original-Lines: 38 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n695pw3c007544 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@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:112229 Archived-At: Thierry Volpiatto writes: > Dan Nicolaescu writes: > > > Thierry Volpiatto writes: > > > > > Dan Nicolaescu writes: > > > > > > > Dmitry Dzhus writes: > > > > > > > > > Mercurial can do the same with graphlog extension enabled (it's included > > > > > in Mercurial distribution now) if we add `-G` flag in > > > > > `vc-hg-log-switches`. > > > > > > > > Is there a way to force that flag to work? > > > > > > > > $ hg log -G > > > > hg log: option -G not recognized > > > > hg log [OPTION]... [FILE] > > > > > > Add this to your .hgrc > > > > That's not good. To enable this by default, we need to be able to force > > this flag to work from the command line. > > > That will work on the command line only if you activate the extension in > your .hgrc. > What is the problem? you try to enable a log with the graph, if it not > available, you fallback to a normal log. Or with a variable, something > like `vc-hg-use-graphlog'. See what I wrote above your answer. Yes, it can be solved, but I won't add extra complexity and inconsistent behavior that depends of the contents of users .hgrc. Consistent behavior cannot be obtained as long as the graphlog is something that requires the user to edit her .hgrc.