On Wed, Jul 16, 2008 at 10:56:46AM -0700, Stephen Lau wrote: > Will Fiveash wrote: >> 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 >> >> > You'll need to create the usr/closed and then pull that in. YOu can't pull > usr/closed on top of usr > so: > $ hg pull -u -r onnv_94 /net/elpaso.eng/export/gate-hg > $ hg init usr/closd > $ cd usr/closed > $ hg pull -u -r onnv_94 ssh://onnv/export/gate-hg/usr/closed
Got it, thanks. This should be explained to ON developers. >> 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? >> >> > reparent is provided by Cadmium. Do you have the cdm extension loaded? I don't think so. It would be good to also explain to ON peeps that admin a build system what needs to be done to install Cadmium. -- Will Fiveash Sun Microsystems Inc. http://opensolaris.org/os/project/kerberos/