Dan Anderson writes:
> In Teamware, one can reparent a workspace using the teamware GUI or the 
> CLI: workspace parent -p NEWPARENT
> 
> Any idea how to do this with Mercurial?

hg reparent

It's part of the Cadmium extensions.  If you haven't yet run
/opt/onbld/bin/hgsetup, you should.

> I didn't see it in any of my cheat sheets or docs I printed out. The "hg 
> paths" command lists the parent, but doesn't have a documented way of 
> changing the parent. I suppose I can edit the file $CODEMGR_WS/.hg/hgrc 
> line:
>     [paths]
>     default = ssh://onnv.sfbay.sun.com//export/onnv-clone

That's documented, supported, and works.

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to