'httprepository' object has no attribute 'do_read'

Weijun Wang weijun.wang at oracle.com
Wed Nov 10 20:15:43 PST 2010


I heard the forest extension is quite unstable and obsolete now. Kelly 
suggests to clone sub-repos one by one at the moment, like this:

   for i in bsd-port bsd-port/corba bsd-port/jaxp bsd-port/jaxws 
bsd-port/langtools bsd-port/jdk bsd-port/hotspot ; do
     hg clone http://hg.openjdk.java.net/bsd-port/$i   $i
   done

Regards
Max

On 11/11/2010 11:41 AM, David Orriss Jr wrote:
> Hello,
>
> I'm following the steps to build OpenJDK7.  I'm following the steps here:
>
> http://wikis.sun.com/display/OpenJDK/Darwin10Build
>
> However when I get to the step to fetch code:
>
> $ hg fclone http://hg.openjdk.java.net/bsd-port/bsd-port
>
> I get the the error trace below.  Anyone seen this before?
>
> Traceback (most recent call last):
>    File "/opt/local/bin/hg", line 38, in<module>
>      mercurial.dispatch.run()
>    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
> line 16, in run
>      sys.exit(dispatch(sys.argv[1:]))
>    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
> line 36, in dispatch
>      return _runcatch(u, args)
>    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
> line 58, in _runcatch
>      return _dispatch(ui, args)
>    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
> line 590, in _dispatch
>      cmdpats, cmdoptions)
>    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
> line 401, in runcommand
>      ret = _runcommand(ui, options, cmd, d)
>    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
> line 641, in _runcommand
>      return checkargs()
>    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
> line 595, in checkargs
>      return cmdfunc()
>    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/dispatch.py",
> line 588, in<lambda>
>      d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
>    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial/util.py",
> line 427, in check
>      return func(*args, **kwargs)
>    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hgext/forest.py",
> line 830, in clone
>      forests = toprepo.forests(walkhgenabled(ui, opts['walkhg']))
>    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/hgext/forest.py",
> line 246, in _httprepo_forests
>      data = self.do_read("forests", walkhg=("", "True")[walkhg])
> AttributeError: 'httprepository' object has no attribute 'do_read'
>
>
>
> --
> David Orriss Jr.
>
> My blog: http://www.codethought.com/blog
>



More information about the bsd-port-dev mailing list