[ug-bosug] Generating a webrev for mercurial repository
Anil Gulecha
anil.verve at gmail.com
Sat Jan 26 19:25:37 PST 2008
On 1/27/08, Mike Gerdts <mgerdts at gmail.com> wrote:
> > The scm packages at
> > http://dlc.sun.com/osol/scm/SUNWonbld/ seem to
> > have the mercurial knowing webrev.. however taking
> > the latest packages
> > from here and installing doesnt seem to do a lot of
> > good..
> >
> > # echo $PATH
> > /opt/onbld/bin/i386:/opt/onbld/bin:/usr/sbin:/usr/bin
> > # pwd
> > /export/home/anil/slim_prototype
> > # hg status
> > M packages/utils/live-fs-root
> > # webrev
> > SCM detected: mercurial
> > le list from: hg-active -p
> > ssh://anon@hg.opensolaris.org/hg/caiman/slim_prototype
> > ...Traceback
> > (most recent call last):
> > File "/opt/onbld/bin/hg-active", line 42, in ?
> > from onbld.Scm.WorkSpace import WorkSpace
> > File "WorkSpace.py", line 49, in ?
> > ImportError: cannot import name repair
> > Done.
>
> To fix this, you likely need to update SUNWmercurial. I've beat my
> head against this one too many times and never remember all of the
> tricks. They are...
>
> pkgrm SUNWonbld
> pkgrm SUNWmercurial
>
> Get the latest version of SUNWmercurial from
> http://www.opensolaris.org/os/community/tools/scmdownloads/ and SUNWonbld from the URL you mentioned above.
>
> bzcat SUNWonbld*.bz2 | tar xf
> pkgadd -d . SUNWonbld
> passwd -l gk (why does this account have a valid pw?)
> bunzip2 SUNWmercurial*.bz2
> pkgadd -d SUNWmercurial*.pkg all
>
> And now hg-active works without throwing an exception. Webrev is now
> chugging away for me.
>
> Hopefully I will find this post the next time I'm trying this on a
> fresh installation so that I don't have to struggle so much.
>
Awesome.. that worked!
Thanks
Anil
More information about the ug-bosug
mailing list