On 11/11/2010 12:33 PM, David Orriss Jr wrote: > Thanks Max, > > Tell me, if I want to be able to update with the latest changes after > the initial clone, how would I do that? Swapping hg clone for hg > update reports:
You go into each repo and call "hg pull" then "hg update". pull pulls remote changes to local repo (.hg/* things), and update updates the working directory. If you've made any changes to your local repo or working directory, you might need merge etc etc. > > abort: There is no Mercurial repository here (.hg not found)! cd into the new repo first, say > hg clone .... jdk > cd jdk > hg pull && hg update Hope this helps Max > > Thanks again. > > > On Wed, Nov 10, 2010 at 8:15 PM, Weijun Wang<weijun.w...@oracle.com> wrote: >> 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 >>> >> > > >