From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4bde7f1e726745e19697191cfdb5e449@yourdomain.dom> Date: Thu, 16 Jul 2009 16:51:27 -0400 From: drivers@0xabadba.be To: 9fans@9fans.net In-Reply-To: <32d987d50907151708x31a7ebacgd566a1366ac2d284@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] git on plan9 Topicbox-Message-UUID: 23b0b6e2-ead5-11e9-9d60-3106f5b1d025 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 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