From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Daniel_Mart=C3=ADn?= Newsgroups: gmane.emacs.devel Subject: Re: [vc-region-history in HG] Date: Sun, 16 Oct 2022 12:51:26 +0200 Message-ID: References: <83a65w5o91.fsf@gnu.org> <87ilkknpwc.fsf_-_@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1700"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 16 12:53:41 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ok1H3-0000H3-K0 for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Oct 2022 12:53:41 +0200 Original-Received: from localhost ([::1]:33760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ok1H2-0007eI-FZ for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Oct 2022 06:53:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok1F7-0006EW-G8 for emacs-devel@gnu.org; Sun, 16 Oct 2022 06:51:42 -0400 Original-Received: from sonic301-2.consmr.mail.bf2.yahoo.com ([74.6.129.41]:45968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ok1F4-0001Oc-Q9 for emacs-devel@gnu.org; Sun, 16 Oct 2022 06:51:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1665917492; bh=WWnFnwEwXZ71pWsKWozP5hFcR4wXLgpA5nI/v32SxBw=; h=From:To:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=hmbA3IxLgW1qYljO3dilecEulFP2DSfXSPYYPAO0qYygnn5x+a1fK1Ht9ZQkn0mTOsVepG0LRIHUyb4lDA9zcbwZlh0Jm/gTCt84HsWD3M56XEo0AkuY/sdWQGVcBT5p9AiVCSaP0S1mBA/0p5KQiQJc8qmT7Vm2dTj23ZK0rHmeZy7B895rUpBOkwvXWmYVyFbSUh73lK1Xr/XulVBX3bhpRxdmq03QGUcdrgjbJCWwu5ncH5FBOeChWTgC6lorNr0Zf76qCn4L8X9w+ZRc0BSSv2t7aWsRGTHcrmRkULnnXdRZ+LdILIwd8mck7IZkyyXiFNnfXThVLm+ZWvuyuw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665917492; bh=WY0pW00UBAwJabAqREkI02xAO5nlhP3fM1Y2ZQSf6WC=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=NuFzUNfYQgmx8O431ZfR5E3NauAlNmZ9q1tjs8mrrndeiho/bCVklIisBTrttwXE6NRa5jAbtn1cVlkmGL0CF5xkJ/E1pcTdZjY/9iJ1tGtVRHNuvchRSOUvy4PRHYDrDRbtC8Lkn8G+06CfzSCmGoWxxeZMeXHxGfITMfF6lYBx+586GnTRDqBCjF1z+QYuaolpfQWNGT4wXoeJ0WAloXk64vvn/xHTDv0FHG582dGpUII8nK/SBVtoQpwVl3boRoQrDYv6HT45ROqndEhfQVhCqWLRajB2AuS4Ovq17uOBeVBXFVpAhb0QDyyx8QpcJYolpiTUG6/5AgP85dvQCQ== X-YMail-OSG: dSkFbtIVM1lvbzG3SnBvq5D1mblxWUsZlGZ3L9bNfwr4QBGWUJvCUulGLPpW3dd l4.3ZDCq3dQcnbhHGB4_zFgyBZXRGsebbx5Hc0uMXb8wZPv6jbYWBb6k5MlOF1242VvT1SB9TNsf WPbI8vvBTetcmkNsfgD9A1qELXO6G35P1iktIU7bbIPAFXN0bkgS5m9Biu9Wo3o2OM5W_t0azQN8 MTi8H.FgQNOWNA3vfW5sOcT9S2CW25vHG0XVU4mp9FCF4T4NjZfnLvWwIvNUT4kv1PW65rjDPNHl ueGCjj5GkNTa34PGOrwLA220DXjnmpkInAIS_XmVPPBqB6wByjftpiIkmYLT.A5fF2ZCGiRKmogw ..m.ZEvqL57S_fCay7grb9eXWyGdHzG2555bHYeg9xdBDaL61995mJVJa4CkUANCT5Or_Jkyvn8i hzS9.YyEXgsuO_b4b4QmYDVg1KvCsyNcpEGZr5tjAVFgyMWGZHytDiM.EUYGg9bCb78QqzxZNgb1 Zm4P3bE0Fm5T1BxJu6xFAysx.mKkp5y4da5JOrRmtHkt1E0QhLR2yaOdAt65Sdoc88xOUBjtaEoo cq.ES9ba48QTWY0rAfGFBUpoxecx9MbmGCcTlDgH6tdGcbsFv8bHn1z6CUur6sgjqvZsFg9erqwo UmyQr1xaYq.S4A5O4PPxOW.4HuJXxH8vIc2T0SNu2LYTtzF8GDy6j6QYdeoqUrsEctnyWJ_X1YJI qTpswfnHa1ywS6rx0_SKedoGzljTLUzLinDyqqqjcHm.LtDQLi1hfc.gII2Q14jDB.WnSeqHch3_ VBfxhBCgW.BDR1TWggpJvqLNVQIq4MHivswtQrD_t4 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Sun, 16 Oct 2022 10:51:32 +0000 Original-Received: by hermes--production-ir2-6c65697d7-c5jqv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e791852d380c461ccd5745b792d3340a; Sun, 16 Oct 2022 10:51:28 +0000 (UTC) In-Reply-To: <87ilkknpwc.fsf_-_@mat.ucm.es> (Uwe Brauer's message of "Sun, 16 Oct 2022 10:17:39 +0200") X-Mailer: WebService/1.1.20740 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=74.6.129.41; envelope-from=mardani29@yahoo.es; helo=sonic301-2.consmr.mail.bf2.yahoo.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:297855 Archived-At: Uwe Brauer writes: > > I just realized that vc-region-history does not work in hg, in the sense > that it just shows the changes in the whole buffer, while it works for > git. I looked briefly at the code and could not find any special calls > to git there. > > Any idea what could be the reason (not that there are very many HG users > on this list...)? In a git repository, the function delegates to the backend function vc-git-region-history, which calls "git log -L" (requires git 1.8.4+). If this cheatsheet is accurate, https://hyperpolyglot.org/version-control, there is no direct Mercurial alternative to git log -L ("commits which touched lines"). But perhaps we can implement the feature for Mercurial in some other way.