OpenSolaris

Printable Version Enter a New Search
Bug ID 6729074
Synopsis webrev doesn't deal well with remote ssh hg parents
State 10-Fix Delivered (Fix available in build)
Category:Subcategory consolidation:os-net-tools
Keywords oss-sponsor
Sponsor Mark J Nelson
Submitter richlowe
Responsible Engineer Mark J Nelson
Reported Against snv_94
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_97
Fixed In snv_97
Release Fixed solaris_nevada(snv_97)
Related Bugs
Submit Date 23-July-2008
Last Update Date 28-August-2008
Description
I have a mercurial workspace whose parent is ssh://zhadum.east//export/clones/onnv-gate-hg.  When I do a webrev in this workspace, the output starts with:

zhadum(/export/ws/seb/dladm-privs-hg)$ webrev -O
   SCM detected: mercurial
 File list from: hg-active -p ssh://zhadum.east//export/clones/onnv-gate-hg ...Enter passphrase for key '/home/seb/.ssh/id_dsa': 
 Done.
      Workspace: /export/ws/seb/dladm-privs-hg (at 5224d19cf08d)
Compare against: ssh://zhadum.east//export/clones/onnv-gate-hg (at e0e6a314b253)
      Output to: /export/ws/seb/dladm-privs-hg/webrev
   Output Files:
        remote:
                *** Error: file not in parent or child
        usr/src/cmd/devfsadm/misc_link.c
                 patch cdiffs udiffs wdiffs sdiffs frames ps old new
...

Note the "Error" above.  The result is a mangled first line in the webrev html, as you can see at:

http://cr.opensolaris.org/~seb/webrev-bad-hg/

Note the "remote" line near the top.

If I change my workspace's hgrc to access the parent via NFS rather than ssh, the problem goes away.
Work Around
Modify the child's hgrc to access the parent via NFS, or use ssh-agent to configure password-less automatic ssh access to the parent.
Comments
N/A