Opened 13 years ago

Last modified 13 years ago

#27196 closed defect

hg-forest @20090409 +attribute error httprepository object has no attribute do_read — at Initial Version

Reported by: nhojpatrick (John Patrick) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: mercurial extension Cc:
Port: hg-forest

Description

I've just installed mercurial and hg-forest and get the following error when trying to use it.

$ hg fclone http://hg.openjdk.java.net/bsd-port/bsd-port unknown exception encountered, please report by visiting http://mercurial.selenic.com/wiki/BugTracker Python 2.6.6 (r266:84292, Sep 4 2010, 23:04:14) [GCC 4.2.1 (Apple Inc. build 5664)] Mercurial Distributed SCM (version 1.7) Extensions loaded: fetch, forest 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 "/Users/john/projects/opensource/bitbucket.org/hgforest-crew/forest.py", line 858, in clone

forests = toprepo.forests(walkhgenabled(ui, optswalkhg?))

File "/Users/john/projects/opensource/bitbucket.org/hgforest-crew/forest.py", line 277, in _httprepo_forests

data = self.do_read("forests", walkhg=("", "True")[walkhg])

AttributeError: 'httprepository' object has no attribute 'do_read' $

Change History (0)

Note: See TracTickets for help on using tickets.