From nobody Thu Oct 21 23:09:15 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0E86217F2EF1 for ; Thu, 21 Oct 2021 23:09:19 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hb38D5xx9z4sdK for ; Thu, 21 Oct 2021 23:09:16 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTP id daDbmoNLfps7PdhBUmVchu; Thu, 21 Oct 2021 23:09:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1634857756; bh=WyoS/EDDuKGHu2uSlXJoKgzzsLso5LeWuKF5VHZTbm8=; h=Date:From:To:Cc:Subject; b=hVGlVDJY788Orw8D3UARPmZqjz7cP1sh/Sax7rwEWy+bWmCjX4Xq3miqy/js/tnmP USoyCIHGV9RiULq8u539+oOMNi9npF1LUq0UWYUPfK/v1fPDdRXYLqV6wU/7RWnrIM eXcLNCLqmhdJfD/T0uBGBn1DjfrlSuMNazGW8D7EamnzPgI43IO2K9Liqg43HKvwTZ uKIUXUcdsdKbpPj+9H5WH+w1zLJ1Q1sCONGNJejr8mLDe9UY8QcOqNGBUsh1N0Eobo NCpmqk6jDyu72JX4uJHrzIbP+C8Qsj7K4p3e9Ja6DXB1t6aJ1Kw/TXYAMoXYUpVkhn nokqygq/bcYoQ== Received: from cds220.dcs.int.inet ([64.59.134.6]) by cmsmtp with ESMTP id dhBTmRZjVgxGidhBTm7nOl; Thu, 21 Oct 2021 23:09:16 +0000 X-Authority-Analysis: v=2.4 cv=SqLzVNC0 c=1 sm=1 tr=0 ts=6171f31c a=9zdlX7M534QhL7mOrorEvQ==:117 a=FKkrIqjQGGEA:10 a=on0NmgUIp3IA:10 a=IkcTkHD0fZMA:10 a=Eju8ZfVQlTlNrscCucwA:9 a=QEXdDO2ut3YA:10 Date: Thu, 21 Oct 2021 17:09:15 -0600 (MDT) From: Dale Scott To: freebsd-questions Cc: dalescott@shaw.ca Message-ID: <116710303.120952109.1634857755619.JavaMail.zimbra@shaw.ca> Subject: share Mercurial repo's in user home directory List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [162.223.103.50, 162.223.103.50] X-Mailer: Zimbra 8.8.15_GA_4125 (ZimbraWebClient - GC94 (Win)/8.8.15_GA_4059) Thread-Index: prLTi5G7yCuJnE57CXwlvhoUlYCPmQ== Thread-Topic: share Mercurial repo's in user home directory X-CMAE-Envelope: MS4xfBqxVHFa8R1Kj4c7PF9+3U6iYALFc+NeJzf3GfJz9hsuqAJE9BCq/4GqTLCIdseA1WlovtCc2/isZ3Tjv8yGcvyD9nrzWfiU+Z0lA4p3/z2KcsCFR0UJ 2a5ffC+gh2EcUAME2A0VM0gPqDGHNB7fH9Gs9NzZAIvHKn4YxKUkgbBO3IPphHYM+MlYqPKvvJBMc6E9y4+HByHwJb5AfTzz47JVS/mbubOnREHZ1HcjrQFF X-Rspamd-Queue-Id: 4Hb38D5xx9z4sdK X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=shaw.ca header.s=s20180605 header.b=hVGlVDJY; dmarc=pass (policy=none) header.from=shaw.ca; spf=pass (mx1.freebsd.org: domain of dalescott@shaw.ca designates 3.97.99.33 as permitted sender) smtp.mailfrom=dalescott@shaw.ca X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[shaw.ca:s=s20180605]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:3.97.99.32/31]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(0.00)[3.97.99.33:from]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[shaw.ca:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[shaw.ca,none]; RCVD_IN_DNSWL_NONE(0.00)[3.97.99.33:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[shaw.ca:dkim] X-ThisMailContainsUnwantedMimeParts: N This is not directly related to FreeBSD.... is it possible to share a Mercurial repository with remote users simply by putting it in a user directory and the remote users specifying the ssh protocol in their hg clone, pull, push... commands? I successfully do this now with git for a small number of users. I created a new system user and put headless git repos in the new user's home directory, then added a public ssh key for each developer to the new user's authorized_keys file. Remote users access the git repos in the home directory by simply using the ssh syntax with git clone, pull and push (and authenticate using their private key). Does this also work with Mercurial? Thanks, Dale