[issue2627] Clone fails with unknown exception: 'empty or missing revlog for .DS_Store
ewmailing
bugs at mercurial.selenic.com
Sun Feb 6 10:06:41 UTC 2011
New submission from ewmailing <ewmailing at gmail.com>:
When I clone a new repo, I sometimes get the following error:
requesting all changes
adding changesets
adding manifests
transaction abort!
rollback completed
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
** Mercurial Distributed SCM (version 1.7.5)
** Extensions loaded: fixfrozenexts, bookmarks, zeroconf, eol, mq, mercurial_key
ring
Traceback (most recent call last):
File "hg", line 36, in <module>
File "mercurial\dispatch.pyo", line 16, in run
File "mercurial\dispatch.pyo", line 36, in dispatch
File "mercurial\dispatch.pyo", line 58, in _runcatch
File "mercurial\dispatch.pyo", line 593, in _dispatch
File "mercurial\dispatch.pyo", line 401, in runcommand
File "mercurial\dispatch.pyo", line 644, in _runcommand
File "mercurial\dispatch.pyo", line 598, in checkargs
File "mercurial\dispatch.pyo", line 591, in <lambda>
File "mercurial\util.pyo", line 426, in check
File "mercurial\commands.pyo", line 736, in clone
File "mercurial\hg.pyo", line 337, in clone
File "mercurial\localrepo.pyo", line 1886, in clone
File "hgext\bookmarks.pyo", line 312, in pull
File "mercurial\localrepo.pyo", line 1295, in pull
File "hgext\bookmarks.pyo", line 362, in addchangegroup
File "mercurial\localrepo.pyo", line 1711, in addchangegroup
File "mercurial\revlog.pyo", line 1381, in addgroup
File "mercurial\revlog.pyo", line 1220, in _addrevision
mpatch.mpatchError: patch cannot be decoded
remote: abort: empty or missing revlog for .DS_Store
The repo I'm dealing with has .DS_Store checked in, but later used hg rm to
remove the files from tracking. They are also now added to the .hgignore list.
However, for situations I don't understand, sometimes new clones work while
other times they don't.
I sometimes get this error when I try creating/pushing a new repo onto our
server from a Mac to what I believe is a Linux machine. I think sometimes
this fails if I don't have a perfectly clean repo on my Mac. If I do a new
clean checkout and push that one, it seems to help.
This error message pasted above was the result of me trying to clone from a
Mac server via ssh onto a Windows machine. However, using a perfectly clean
repo didn't seem to help in this case.
I've seen this general problem occur with all extensions turned off. Running
hg verify, I see stuff like this:
data/.DS_Store.i at 0: missing revlog!
0: empty or missing .DS_Store
.DS_Store at 0: 8cf95cc043f1 in manifests not found
data/References/.DS_Store.i at 0: missing revlog!
0: empty or missing References/.DS_Store
References/.DS_Store at 0: e959df7694ce in manifests not found
<snip>
data/tools/drupal/user_service/.DS_Store.i at 0: missing revlog!
0: empty or missing tools/drupal/user_service/.DS_Store
tools/drupal/user_service/.DS_Store at 0: e959df7694ce in manifests not found
15892 files, 2494 changesets, 23685 total revisions
294 integrity errors encountered!
(first damaged changeset appears to be 0)
I would really appreciate any help in this matter.
----------
messages: 15141
nosy: ewmailing
priority: bug
status: unread
title: Clone fails with unknown exception: 'empty or missing revlog for .DS_Store
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2627>
____________________________________________________
More information about the Mercurial-devel
mailing list