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 ... > Is there a way for me to do the above? And is it okay to use a zfs > clone as a hg repository in which to do development? I do. I keep the workspaces I clone from absolutely pristine, however. -- Rich