hg in: abort: No such file or directory

Sam Steingold sds at gnu.org
Wed Feb 16 22:38:41 UTC 2011


> * Matt Mackall <zcz at fryravp.pbz> [2011-02-16 16:26:30 -0600]:
>
> (please always cc: the list)
I do.

> On Wed, 2011-02-16 at 17:13 -0500, Sam Steingold wrote:
> need more information. Please send the whole output, ie:
>
> $ hg in
> comparing with http://selenic.com/repo/smem
> searching for changes
> no changes found

$ hg in:
abort: No such file or directory
$

>> how do I investigate?
>
> Each of the --verbose, --debug, and --traceback flags will give you
> further information.

$ hg --debug --verbose in
running ssh podval "hg -R ~sds/ serve --stdio"
abort: No such file or directory


{255} 17:31:17 sds at sds:~ [126]$ hg --debug --verbose --traceback in
running ssh podval "hg -R ~sds/ serve --stdio"
Traceback (most recent call last):
  File "/lib/python2.6/site-packages/mercurial/dispatch.py", line 58, in _runcatch
    return _dispatch(ui, args)
  File "/lib/python2.6/site-packages/mercurial/dispatch.py", line 590, in _dispatch
    cmdpats, cmdoptions)
  File "/lib/python2.6/site-packages/mercurial/dispatch.py", line 401, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/lib/python2.6/site-packages/mercurial/dispatch.py", line 641, in _runcommand
    return checkargs()
  File "/lib/python2.6/site-packages/mercurial/dispatch.py", line 595, in checkargs
    return cmdfunc()
  File "/lib/python2.6/site-packages/mercurial/dispatch.py", line 588, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/lib/python2.6/site-packages/mercurial/util.py", line 427, in check
    return func(*args, **kwargs)
  File "/lib/python2.6/site-packages/mercurial/commands.py", line 2401, in incoming
    ret = hg.incoming(ui, repo, source, opts)
  File "/lib/python2.6/site-packages/mercurial/hg.py", line 472, in incoming
    return _incoming(display, subreporecurse, ui, repo, source, opts)
  File "/lib/python2.6/site-packages/mercurial/hg.py", line 420, in _incoming
    other = repository(remoteui(repo, opts), source)
  File "/lib/python2.6/site-packages/mercurial/hg.py", line 96, in repository
    repo = _lookup(path).instance(ui, path, create)
  File "/lib/python2.6/site-packages/mercurial/sshrepo.py", line 50, in __init__
    self.validate_repo(ui, sshcmd, args, remotecmd)
  File "/lib/python2.6/site-packages/mercurial/sshrepo.py", line 64, in validate_repo
    self.pipeo, self.pipei, self.pipee = util.popen3(cmd)
  File "/lib/python2.6/site-packages/mercurial/util.py", line 72, in popen3
    env=env)
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
abort: No such file or directory


>> how do I recover?
>
> Speculating on how to recover from an unknown problem would be
> irresponsible and counterproductive.

not necessarily.  one dreadful reply I half expected was "this is a
common known problem; your local repo is corrupt; rm-rf and do a fresh
clone".

-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final)
http://mideasttruth.com http://memri.org http://palestinefacts.org
http://ffii.org http://honestreporting.com http://pmw.org.il
A clear conscience is usually the sign of a bad memory.



More information about the Mercurial mailing list