Virginia Wray wrote:
> Hi -
> 
> I was wondering if the cadmium extensions are available for sparc. I 
> noticed mercurial was available after I installed build 90 of nevada.
> 
> I tried installing SUNWonbld, but I'm getting an error:
> ## Executing postinstall script.
> Installing 'gk' account
> /var/sadm/pkg/SUNWonbld/install/postinstall: 
> //opt/onbld/gk/.make.machines: cannot create
> pkgadd: ERROR: postinstall script did not complete successfully
> 
> Installation of <SUNWonbld> failed.
> 
> Should I be able to install this package? Is it going to provide me with 
> the cadmium extension?
> 

Yes. You probably have /opt/onbld automounted, so you will have to take
care of that first. Here's what you may see via mount command:

/opt/onbld on tools-sparc:/export/tools.sparc/onnv-tools/onbld 
remote/read/write/setuid/devices/vers=3/xattr/dev=57c0024 on Tue May 27 
11:42:43 
2008

Here's what the bottom of the SUNWonbld sparc package install should
look like:

...
/opt/onbld/man/man1/wx2hg.1
/opt/onbld/man/man1/xref.1
[ verifying class <none> ]
/opt/onbld/bin/sparc/install.bin <linked pathname>
## Executing postinstall script.
Installing 'gk' account
dmake concurrency set to 132.

Installation of <SUNWonbld> was successful.

---

After you add the onbld package, you can use hgsetup to add
the cdm extension info to .hgrc

/opt/onbld/bin/hgsetup

# cat .hgrc
[extensions]
hgext.cdm=/opt/onbld/lib/python/onbld/hgext/cdm.py
...

---

-bash-3.2$ hg help cdm
cdm extension - workspace extensions for mercurial

This extension contains a number of commands to help you work within
the OpenSolaris consolidations.

Common uses:

Show diffs relative to parent workspace                 - pdiffs
Check source style rules                                - nits
Run pre-putback checks                                  - pbchk
Collapse all your changes into a single changeset       - recommit

list of commands:

  apply       apply cmd to all active files
  arcs        show all ARC cases in checkin comments
  backup      make backup copies of all workspace changes
  branchchk   check if multiple heads (or branches) are present
  bugs        show all bug IDs in checkin comments
  cddlchk     check for a valid CDDL block in active files
  comchk      check checkin comments for active files
  comments    show checkin comments for active files
  copyright   check active files for valid copyrights
  cstyle      check active C source files conform to the C Style Guide
  eval        run cmd for each active file
  hdrchk      check active header files conform to O/N rules
  jstyle      check active Java source files for common stylistic errors
  keywords    check source files do not contain SCCS keywords
  list        list files changed relative to parent workspace
  nits        check for stylistic nits in active files
  pbchk       pre-putback check all active files
  pdiffs      list workspace diffs relative to parent workspace
  permchk     check active files permission - warn +x (execute) mode
  recommit    compact outgoing deltas into a single, conglomerate delta
  renamed     show renamed active files
  reparent    reparent your workspace
  restore     restore workspace from backup
  rtichk      check active bug/RFEs for approved RTIs
  tagchk      check if .hgtags is active and issue warning

use "hg -v help cdm" to show aliases and global options

Cheers,
Jim

Reply via email to