The Mercurial Forest Extension
Kelly O'Hair
Kelly.Ohair at Sun.COM
Tue Nov 6 20:39:03 UTC 2007
For anyone using the forest extension with Mercurial 0.9.5, there
was a recent update to it for 0.9.5, you may want to get a
fresh hgforest clone, or do a 'hg pull && hg update' to get the new forest.py
file and update your copies.
The old forest.py would fail with 0.9.5 for me with a simple 'hg fstatus',
the new one works fine, although I did not try the new one with 0.9.4, so
be careful.
---
The failure looked like:
<> hg fstatus
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 0.9.5)
Traceback (most recent call last):
File "/java/devtools/i386/mercurial/0.9.5/bin/hg", line 14, in ?
mercurial.dispatch.run()
File "/java/svc/kto/Mercurial/0.9.5/dist/solaris-i586/usr/local/lib/python2.4/site-packages/mercurial/dispatch.py",
line 20, in run
sys.exit(dispatch(sys.argv[1:]))
File "/java/svc/kto/Mercurial/0.9.5/dist/solaris-i586/usr/local/lib/python2.4/site-packages/mercurial/dispatch.py",
line 29, in dispatch
return _runcatch(u, args)
File "/java/svc/kto/Mercurial/0.9.5/dist/solaris-i586/usr/local/lib/python2.4/site-packages/mercurial/dispatch.py",
line 45, in _runcatch
return _dispatch(ui, args)
File "/java/svc/kto/Mercurial/0.9.5/dist/solaris-i586/usr/local/lib/python2.4/site-packages/mercurial/dispatch.py",
line 348, in _dispatch
ret = _runcommand(ui, options, cmd, d)
File "/java/svc/kto/Mercurial/0.9.5/dist/solaris-i586/usr/local/lib/python2.4/site-packages/mercurial/dispatch.py",
line 401, in _runcommand
return checkargs()
File "/java/svc/kto/Mercurial/0.9.5/dist/solaris-i586/usr/local/lib/python2.4/site-packages/mercurial/dispatch.py",
line 357, in checkargs
return cmdfunc()
File "/java/svc/kto/Mercurial/0.9.5/dist/solaris-i586/usr/local/lib/python2.4/site-packages/mercurial/dispatch.py",
line 340, in <lambda>
d = lambda: func(ui, repo, *args, **cmdoptions)
File "/java/svc/kto/Mercurial/0.9.5/dist/solaris-i586/usr/local/lib/python2.4/site-packages/hgext/forest.py", line
1186, in status
prehooks=[lambda tree: check_mq(tree)])
File "/java/svc/kto/Mercurial/0.9.5/dist/solaris-i586/usr/local/lib/python2.4/site-packages/hgext/forest.py", line
597, in apply
paths[0], revs = parseurl(paths[0], opts['rev'])
ValueError: too many values to unpack
-kto
Kelly O'Hair wrote:
>
> To get the Mercurial Forest Extension:
>
> hg clone http://www.terminus.org/hg/hgforest hgforest
>
> Then I copy hgforest/forest.py to the hgext directory of my Mercurial
> intallation area, and add this to your ~/.hgrc file:
>
> [extensions]
> hgext.forest =
>
> But you can put forest.py anywhere you want, as long as the [extensions]
> refers to that location.
>
> -kto
>
>
More information about the build-dev
mailing list