From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yEoNEqKyr1/AaQAA0tVLHw (envelope-from ) for ; Sat, 14 Nov 2020 10:34:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sJnaDaKyr1/LXQAAbx9fmQ (envelope-from ) for ; Sat, 14 Nov 2020 10:34:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B7A579403AA for ; Sat, 14 Nov 2020 10:34:09 +0000 (UTC) Received: from localhost ([::1]:45100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdssi-0004RG-Do for larch@yhetil.org; Sat, 14 Nov 2020 05:34:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdssc-0004RA-1T for guix-patches@gnu.org; Sat, 14 Nov 2020 05:34:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38280) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kdssb-0008N7-Oa for guix-patches@gnu.org; Sat, 14 Nov 2020 05:34:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kdssb-0006Th-Mc for guix-patches@gnu.org; Sat, 14 Nov 2020 05:34:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44367] [PATCH 2/2] doc: Document hg-fetch Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 14 Nov 2020 10:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44367 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Holger Peters Cc: 44367@debbugs.gnu.org Received: via spool by 44367-submit@debbugs.gnu.org id=B44367.160535002924883 (code B ref 44367); Sat, 14 Nov 2020 10:34:01 +0000 Received: (at 44367) by debbugs.gnu.org; 14 Nov 2020 10:33:49 +0000 Received: from localhost ([127.0.0.1]:49826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdssP-0006TG-4M for submit@debbugs.gnu.org; Sat, 14 Nov 2020 05:33:49 -0500 Received: from mira.cbaines.net ([212.71.252.8]:50686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdssN-0006T9-Kh for 44367@debbugs.gnu.org; Sat, 14 Nov 2020 05:33:48 -0500 Received: from localhost (188.28.119.104.threembb.co.uk [188.28.119.104]) by mira.cbaines.net (Postfix) with ESMTPSA id 1136D27BBF4; Sat, 14 Nov 2020 10:33:47 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 6890b9f6; Sat, 14 Nov 2020 10:33:44 +0000 (UTC) References: <9169d111edc807df292fe0566ce72f84e6d5dd44.1604223741.git.holger.peters@posteo.de> <868c2aabcc8f55684c02e337ae288b43d5c98844.1604223741.git.holger.peters@posteo.de> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines In-reply-to: <868c2aabcc8f55684c02e337ae288b43d5c98844.1604223741.git.holger.peters@posteo.de> Date: Sat, 14 Nov 2020 10:33:44 +0000 Message-ID: <87lff4cjnb.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.61 X-TUID: Rvll7lAZlseW --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Holger Peters writes: > * doc/guix.texi (hg-fetch): Add documentation for scheme procedure. For the changelog for documentation, I normally put the section in the round brackets, then describe the change after the colon. So, I changed this to: * doc/guix.texi (origin Reference): Add documentation for hg-fetch. > --- > doc/guix.texi | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/doc/guix.texi b/doc/guix.texi > index 69e7d5f85c..cb58ba85c6 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -6834,6 +6834,17 @@ commit: > @end lisp > @end deftp >=20=20 > +For mercurial repositories, the module @code{(guix hg-download)} defines= the > +@code{hg-fetch} origin method and @code{hg-reference} data type for supp= ort of > +the mercurial version control system. > + > +@deffn {Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} hg-fetch accepts an optional name parameter, so I added that here since the text refers to it. Assuming you copied the git-fetch documentation, that's maybe deficient as it doesn't mention all the parameters. > +Return a fixed-output derivation that fetches @var{ref}, a > +@code{} object. @code{} object. The outpu= t is There's a typo regarding git-reference here which I removed. > +expected to have recursive hash @var{hash} of type @var{hash-algo} (a sy= mbol). > +Use @var{name} as the file name, or a generic name if @code{#false}. > +@end deffn > + > @node Defining Package Variants > @section Defining Package Variants --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl+vsohfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdLVw/8CMZY91ra7vCiSq83hsCM7XIvdqpmN4tK IKDzfTp1qLNbd7X2qzzhXAHnfZydR8PUfhgRnMSTjzFOTGLriYcPKZ+1Rpp5OPSP 7dJCac8TIsDT0PLtksSGRSugbCH0+1dnYMwIX+WkLH3aMPVdqVsT4fL6lfbYOGXv KBgzdggUkIjQJAc+CPFHaAh0xyutQCNGyDnwZCZ9SgadL9HrAFZjDEZORk31s2FM y9ZI/wu38xXkJFj4wjD3jIhWXYcc1iK5cc8JY4+5KYjKcro/nCcEGphhTr94wJ4w XPJR6Ty6d70Mxi1+aKHhOQ2P5b4+B6iB2HYL6/yc74c4mRQxAeLuBjqCHsD/ueHw sNOvwwFkVSK0O+lBAz/M8Ydfb+f0SzQQI0VazXtfnjFIO+P25sORrvsjxlvYjUQu p099qJXo6w37l7p+XBZDSrXb5w8sIoxKDFwRvkviMQfDLZHo8jyfxlhP4wfNVnRr H7ekOH/tXkMgPNtW8yeP2HEYzPk6sXnPYY7MFDEhq3jQUuSnj7pSYSL2SpCsIBpR qHadEp7xdhxgqr+1vIpF9t3ItjLReur4yAfsnNXwnefQ7VmUJ7DXyrokumIpgRbF HvjFbdPnQw3yMzDWcEBCkubcdKr/sET8r6zc7cuku4w2KNpjdcsx2QM0Ehzj6nmz akvE7UnmnUE= =110Z -----END PGP SIGNATURE----- --=-=-=--