Note that there are some explanatory texts on larger screens.

plurals
  1. POBroken Mercurial Repo
    primarykey
    data
    text
    <p>I did a revursive sed on my root directory, and when I tried to commit, or do anything with hg besides hg --help, I get a stack trace. I incorrectly assumed that the .hg directory was write protected when I did my sed.</p> <p>The repo is local to my machine.</p> <p>Is there any way for me to recover my changelog or commit comments? I found a file called <code>00changelog.i</code> in the <code>.hg</code> dir, but it's a binary file that doesn't execute.</p> <p>The sed commands:</p> <pre><code>find . -type f -exec sed -i.bak "s/sim-config.h/config.h/g" {} \; find . -type f -exec sed -i.bak "s/av-config.h/config.h/g" {} \; </code></pre> <p>The stack trace:</p> <pre><code>Traceback (most recent call last): File "/usr/bin/hg", line 27, in &lt;module&gt; mercurial.dispatch.run() File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 16, in run sys.exit(dispatch(sys.argv[1:])) File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 30, in dispatch return _runcatch(u, args) File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 50, in _runcatch return _dispatch(ui, args) File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 470, in _dispatch return runcommand(lui, repo, cmd, fullargs, ui, options, d) File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 340, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 521, in _runcommand return checkargs() File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 475, in checkargs return cmdfunc() File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 469, in &lt;lambda&gt; d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) File "/usr/lib/python2.6/site-packages/mercurial/util.py", line 401, in check return func(*args, **kwargs) File "/usr/lib/python2.6/site-packages/mercurial/commands.py", line 712, in commit node = cmdutil.commit(ui, repo, commitfunc, pats, opts) File "/usr/lib/python2.6/site-packages/mercurial/cmdutil.py", line 1151, in commit return commitfunc(ui, repo, message, match(repo, pats, opts), opts) File "/usr/lib/python2.6/site-packages/mercurial/commands.py", line 710, in commitfunc editor=e, extra=extra) File "/usr/lib/python2.6/site-packages/mercurial/localrepo.py", line 787, in commit changes = self.status(match=match, clean=force) File "/usr/lib/python2.6/site-packages/mercurial/localrepo.py", line 1015, in status listclean, listunknown) File "/usr/lib/python2.6/site-packages/mercurial/dirstate.py", line 614, in status dmap = self._map File "/usr/lib/python2.6/site-packages/mercurial/util.py", line 156, in __get__ result = self.func(obj) File "/usr/lib/python2.6/site-packages/mercurial/dirstate.py", line 58, in _map self._read() File "/usr/lib/python2.6/site-packages/mercurial/dirstate.py", line 228, in _read p = parsers.parse_dirstate(self._map, self._copymap, st) </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload