From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.devel Subject: [Solved] (was: vc-next-action RCS vs hg: copies the entry of ChangeLog) Date: Mon, 26 Oct 2015 16:35:37 +0000 Message-ID: <87r3khk2p2.fsf_-_@mat.ucm.es> References: <87wpuohbj8.fsf@mat.ucm.es> <877fmkoa6v.fsf@mat.ucm.es> <56236B6F.8070401@yandex.ru> <871tcsl41h.fsf@mat.ucm.es> <5623FB62.5020507@yandex.ru> <877fmjqrd5.fsf@mat.ucm.es> <83y4ezgwun.fsf@gnu.org> <87vba3p95y.fsf@mat.ucm.es> <83pp0bgt09.fsf@gnu.org> <87lhazp81q.fsf@mat.ucm.es> <83oafvgrfa.fsf@gnu.org> <87pp0b8biu.fsf@mat.ucm.es> <5624B5DD.9000500@yandex.ru> <87h9ln87cg.fsf@mat.ucm.es> <5624CB1C.8020004@yandex.ru> <878u6z86so.fsf@mat.ucm.es> <5624CDB9.505@yandex.ru> <87d1wb806o.fsf@mat.ucm.es> <562580D4.2010508@yandex.ru> <87bnbuqdma.fsf@mat.ucm.es> <5625FC95.7030405@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1445877401 28510 80.91.229.3 (26 Oct 2015 16:36:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Oct 2015 16:36:41 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 26 17:36:32 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zqkl6-00014X-03 for ged-emacs-devel@m.gmane.org; Mon, 26 Oct 2015 17:36:32 +0100 Original-Received: from localhost ([::1]:54015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqkl5-000464-9U for ged-emacs-devel@m.gmane.org; Mon, 26 Oct 2015 12:36:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqkl0-00045v-Rn for emacs-devel@gnu.org; Mon, 26 Oct 2015 12:36:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zqkkv-0003td-Ry for emacs-devel@gnu.org; Mon, 26 Oct 2015 12:36:26 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:42981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqkkv-0003tT-L7 for emacs-devel@gnu.org; Mon, 26 Oct 2015 12:36:21 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zqkkt-0000pE-Gl for emacs-devel@gnu.org; Mon, 26 Oct 2015 17:36:19 +0100 Original-Received: from gilgamesch.quim.ucm.es ([147.96.12.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Oct 2015 17:36:19 +0100 Original-Received: from oub by gilgamesch.quim.ucm.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Oct 2015 17:36:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 62 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: gilgamesch.quim.ucm.es Mail-Copies-To: never User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:bI+tCrK2lFxfr2MpBTBleDaO86Q= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192668 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit >>> "Dmitry" == Dmitry Gutov writes: > On 10/20/2015 09:05 AM, Uwe Brauer wrote: >> What I mean is suppose I come up with the hg template which meets all >> the requirements, I would leave it to the vc maintainer to implement >> that in lisp. For me it is not obvious how to do it. > You could leave that to me, yes. I finally found a solution which was proposed to me by Simon King on the mercury mailing list. It seems impossible to run hg log from the commandline in order to obtain a output similar/identical to «git log». There is however a two step procedure. - write a style file (I attach the correct one below) - then run hg log --style /path/to/hgstyle And voila! ,---- | changeset: 32:de9787eefb88 | tag: tip | user: Uwe Brauer | Date: Mon Oct 26 16:27:35 2015 +0000 | summary: A Huge commit | | * section-1.tex: Here comes an | important change | | * testhg2.tex (section{Nación} {} {}): New long change: | | * testhg2.tex (section{Introduction} {} {}): Add an | introduction | | * testneuneu.tex (section{Einfuehrung} {} {}): Eine | Neue Einfuehrung `---- How to implement this is lisp I leave to you. Thanks and regards Uwe Brauer --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=hgstyle Content-Transfer-Encoding: base64 Y2hhbmdlc2V0ID0gImNoYW5nZXNldDogICB7cmV2fTp7bm9kZXxzaG9ydH1cbnt0YWdzfXVzZXI6 ICAgICAgICB7YXV0aG9yfVxuRGF0ZTogICAgICAgIHtkYXRlfGRhdGV9XG5zdW1tYXJ5OiAgICAg e3RhYmluZGVudChkZXNjKX1cbntub2ZpbGVzfVxuIgp0YWcgPSAidGFnOiB7dGFnfVxuIgo= --=-=-=--