you have to rebuild ape, and then python. it should work after that.
On Thu, Jul 16, 2009 at 5:51 PM, <driv...@0xabadba.be> wrote:
> hi,
> Ok, so I have hg compiled and it will run via hg cmd; however, i'm
> running into a chmod error. There was a proposed change in
> /n/sources/patch/ape-chmod-dirbit which can be seen here:
> http://www.kix.in/plan9/mirror/sources/patch/. I've taken the chmod.c.new
> file and replaced the old one (copying it for backup's sake...). FGB and
> others that have worked with the previous system have you seen this error:
>
> rator_gade% hg clone --traceback http://bitbucket.org/jespern/django-piston/
> destination directory: django-piston
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> transaction abort!
> rollback completed
> Traceback (most recent call last):
> File "/sys/python/lib/python2.5/mercurial/dispatch.py", line 43, in _runcatch
> return _dispatch(ui, args)
> File "/sys/python/lib/python2.5/mercurial/dispatch.py", line 449, in
> _dispatch
> return runcommand(lui, repo, cmd, fullargs, ui, options, d)
> File "/sys/python/lib/python2.5/mercurial/dispatch.py", line 317, in
> runcommand
> ret = _runcommand(ui, options, cmd, d)
> File "/sys/python/lib/python2.5/mercurial/dispatch.py", line 501, in
> _runcommand
> return checkargs()
> File "/sys/python/lib/python2.5/mercurial/dispatch.py", line 454, in
> checkargs
> return cmdfunc()
> File "/sys/python/lib/python2.5/mercurial/dispatch.py", line 448, in <lambda>
> d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
> File "/sys/python/lib/python2.5/mercurial/util.py", line 370, in check
> return func(*args, **kwargs)
> File "/sys/python/lib/python2.5/mercurial/commands.py", line 635, in clone
> update=not opts.get('noupdate'))
> File "/sys/python/lib/python2.5/mercurial/hg.py", line 286, in clone
> dest_repo.clone(src_repo, heads=revs, stream=stream)
> File "/sys/python/lib/python2.5/mercurial/localrepo.py", line 2176, in clone
> return self.pull(remote, heads)
> File "/sys/python/lib/python2.5/mercurial/localrepo.py", line 1465, in pull
> return self.addchangegroup(cg, 'pull', remote.url())
> File "/sys/python/lib/python2.5/mercurial/localrepo.py", line 2066, in
> addchangegroup
> if fl.addgroup(chunkiter, revmap, trp) is None:
> File "/sys/python/lib/python2.5/mercurial/revlog.py", line 1197, in addgroup
> ifh = self.opener(self.indexfile, "a+")
> File "/sys/python/lib/python2.5/mercurial/store.py", line 296, in
> fncacheopener
> return self._op(hybridencode(path), mode, *args, **kw)
> File "/sys/python/lib/python2.5/mercurial/util.py", line 839, in __call__
> makedirs(d, self.createmode)
> File "/sys/python/lib/python2.5/mercurial/util.py", line 788, in makedirs
> os.chmod(name, mode)
> OSError: [Errno 12] Invalid argument:
> '/usr/james/django-piston/.hg/store/data'
> abort: Invalid argument: /usr/james/django-piston/.hg/store/data
> rator_gade%
>
> If so, what kind of things should i be trying to rectify it (other than using
> that ape-chmod-dirbit/chmod.c.new to replace chmod.c in the appropriate dir ;
> mk ; mk install;)
>
> respectfully,
>
> +=jt
>
>