Message from discussion
hg subrepositories always on tip?
Received: by 10.50.207.33 with SMTP id lt1mr461244igc.3.1330681261710;
Fri, 02 Mar 2012 01:41:01 -0800 (PST)
X-BeenThere: mercurial_general@googlegroups.com
Received: by 10.50.82.72 with SMTP id g8ls632520igy.0.canary; Fri, 02 Mar 2012
01:41:01 -0800 (PST)
Received: by 10.50.237.102 with SMTP id vb6mr469045igc.0.1330681261614;
Fri, 02 Mar 2012 01:41:01 -0800 (PST)
Received: by 10.50.237.102 with SMTP id vb6mr469044igc.0.1330681261603;
Fri, 02 Mar 2012 01:41:01 -0800 (PST)
Return-Path: <mercurial-boun...@selenic.com>
Received: from waste.org (waste.org. [173.11.57.241])
by gmr-mx.google.com with ESMTP id dd7si805802igc.0.2012.03.02.01.41.01;
Fri, 02 Mar 2012 01:41:01 -0800 (PST)
Received-SPF: neutral (google.com: 173.11.57.241 is neither permitted nor denied by best guess record for domain of mercurial-boun...@selenic.com) client-ip=173.11.57.241;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 173.11.57.241 is neither permitted nor denied by best guess record for domain of mercurial-boun...@selenic.com) smtp.mail=mercurial-boun...@selenic.com
Received: from localhost (localhost [127.0.0.1])
by waste.org (Postfix) with ESMTP id 135EA74160;
Fri, 2 Mar 2012 03:44:31 -0600 (CST)
X-Virus-Scanned: Debian amavisd-new at waste.org
Received: from waste.org ([127.0.0.1])
by localhost (waste.org [127.0.0.1]) (amavisd-new, port 10024)
with LMTP id dCKWPF5E+g44; Fri, 2 Mar 2012 03:44:30 -0600 (CST)
Received: from waste.org (localhost [127.0.0.1])
by waste.org (Postfix) with ESMTP id EBFB974144;
Fri, 2 Mar 2012 03:44:20 -0600 (CST)
X-Original-To: mercur...@waste.org
Delivered-To: mercur...@waste.org
Received: from localhost (localhost [127.0.0.1])
by waste.org (Postfix) with ESMTP id E1A2D740F8
for <mercur...@waste.org>; Fri, 2 Mar 2012 03:44:17 -0600 (CST)
X-Virus-Scanned: Debian amavisd-new at waste.org
Received: from waste.org ([127.0.0.1])
by localhost (waste.org [127.0.0.1]) (amavisd-new, port 10024)
with LMTP id SWAVMSQjKIKy for <mercur...@waste.org>;
Fri, 2 Mar 2012 03:44:11 -0600 (CST)
X-Greylist: delayed 385 seconds by postgrey-1.32 at waste.org;
Fri, 02 Mar 2012 03:44:10 CST
Received: from faui45.informatik.uni-erlangen.de
(faui45.informatik.uni-erlangen.de [131.188.34.45])
by waste.org (Postfix) with ESMTPS id A30B8740EE
for <mercur...@selenic.com>; Fri, 2 Mar 2012 03:44:10 -0600 (CST)
Received: from faui250.informatik.uni-erlangen.de
(faui25a.informatik.uni-erlangen.de [131.188.32.41])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by faui45.informatik.uni-erlangen.de (Postfix) with ESMTPS id
2E35F7415AB
for <mercur...@selenic.com>; Fri, 2 Mar 2012 10:34:12 +0100 (CET)
Received: from faui20e.informatik.uni-erlangen.de
(faui20e.informatik.uni-erlangen.de [131.188.32.34])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client did not present a certificate)
by faui250.informatik.uni-erlangen.de (Postfix) with ESMTPS id
19FCD2B031B
for <mercur...@selenic.com>; Fri, 2 Mar 2012 10:34:12 +0100 (CET)
Received: from faui20e.informatik.uni-erlangen.de (localhost [127.0.0.1])
by faui20e.informatik.uni-erlangen.de (8.14.4/8.1.6-FAU) with ESMTP id
q229Y7bK015933
for <mercur...@selenic.com>; Fri, 2 Mar 2012 10:34:07 +0100
Received: (from werth@localhost)
by faui20e.informatik.uni-erlangen.de (8.14.4/8.14.4/Submit) id
q229Y7D0015923
for mercur...@selenic.com; Fri, 2 Mar 2012 10:34:07 +0100
Date: Fri, 2 Mar 2012 10:34:07 +0100
From: Tobias Werth <we...@cs.fau.de>
To: mercur...@selenic.com
Subject: hg subrepositories always on tip?
Message-ID: <20120302093407.GG...@faui20e.informatik.uni-erlangen.de>
MIME-Version: 1.0
Content-Disposition: inline
User-Agent: Mutt/1.5.20 (2009-06-14)
X-BeenThere: mercur...@selenic.com
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <mercurial.selenic.com>
List-Unsubscribe: <http://selenic.com/mailman/options/mercurial>,
<mailto:mercurial-requ...@selenic.com?subject=unsubscribe>
List-Archive: <http://selenic.com/pipermail/mercurial>
List-Post: <mailto:mercur...@selenic.com>
List-Help: <mailto:mercurial-requ...@selenic.com?subject=help>
List-Subscribe: <http://selenic.com/mailman/listinfo/mercurial>,
<mailto:mercurial-requ...@selenic.com?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mercurial-boun...@selenic.com
Errors-To: mercurial-boun...@selenic.com
Hi,
with Mercurial a subrepository sub can be added to a repository super
like this:
echo sub = sub > .hgsub
hg add .hgsub
hg clone https://example.com/hg/sub
hg commit -m "added subrepo"
Mercurial then creates a .hgsubstate to offer a consistent snapshot of
the repository. There are some (rare) cases where this is not useful or
convenient, e.g. collobaration on a bunch of text files with different
access rights.
If Alice only has access to the subrepository sub but not to the
containing repository super, then Bob (who has access to super and sub)
always has to update the state of the subrepository/ies when Alice
changes sub.
Is there a more convenient way for Bob to tell HG that he always wants
to use the the tip of the sub repository as state?
Tobi
_______________________________________________
Mercurial mailing list
Mercur...@selenic.com
http://selenic.com/mailman/listinfo/mercurial