On Tue, Jul 15, 2008 at 06:17:00PM -0400, Richard Lowe wrote: > Will Fiveash <William.Fiveash at Sun.COM> writes: > > > On Tue, Jul 15, 2008 at 12:31:09PM -0700, Stephen Lau wrote: > >> Will Fiveash wrote: > >>> > >>> What is the story regarding snapshot gates like the ones found in > >>> /net/onnv.sfbay/export/snapshot? Will there be a snapshot-hg directory > >>> similar to the gate/gate-hg dirs? > >>> > >>> > >> Haven't checked in a while, so my info might be stale - but at least when > >> I > >> was there we tagged the revisions at which the gate's closed with the > >> build > >> number, so you could do 'hg clone -r onnv_90' and get the revision when > >> the > >> gate closed for onnv_90 > > > > Okay but now I have another question. I want to use zfs snapshot/clone to > > clone a ON build level. Here's what I'm trying to do: > > > > zfs create pool/willf/hg/i386/onnv_94 > > g clone -r onnv_94 /net/elpaso.eng/export/gate-hg onnv_94 > > abort: destination 'onnv_94' already exists > > cd <that filesystem> > hg init > hg pull -u -r onnv_94 ... > hg reparent ...
A couple things in regards to the above. After I did the initial: hg pull -u -r onnv_94 /net/elpaso.eng/export/gate-hg I then did: $ hg pull -u -r onnv_94 ssh://onnv.sfbay.sun.com//export/gate-hg/usr/closed remote: Not trusting file /export/gate-hg/usr/closed/.hg/hgrc from untrusted user daemon, group other pulling from ssh://onnv.sfbay.sun.com//export/gate-hg/usr/closed searching for changes abort: repository is unrelated remote: Not trusting file /export/gate-hg/usr/closed/.hg/hgrc from untrusted user daemon, group other And second (on snv_88): $ hg reparent ssh://onnv.sfbay.sun.com//export/gate-hg hg: unknown command 'reparent' So how does this work when I need to pull from two different repositories? -- Will Fiveash Sun Microsystems Inc. http://opensolaris.org/os/project/kerberos/