Can't see changes
Adrian Buehlmann
adrian at cadifra.com
Wed Jul 27 17:42:58 UTC 2011
On 2011-07-27 19:32, Mads Kiilerich wrote:
> On 07/27/2011 07:09 PM, Tony Cate wrote:
>> On Jul 27, 2011, at 12:47 PM, Kevin Bullock wrote:
>>> This is when you tried to clone the _restored_ repo? What does `hg verify` say?
>>
>>
>> It's not pretty…
>>
>> data/My Test Project/.DS_Store.i at 0: missing revlog!
>> 0: empty or missing My Test Project/.DS_Store
>> My Test Project/.DS_Store at 0: 5e6e9fced71a in manifests not found
>> My Test Project/.DS_Store at 11: 5b2f6a908129 in manifests not found
>> data/My Test Project/Project Logo/.DS_Store.i at 0: missing revlog!
>
> So you tracked a .DS_Store file, Mercurial stored the revision store in
> a file named .DS_Store.i , but unfortunately your file system and/or
> time machine doesn't handle these files as ordinary files and they were
> lost.
>
> Mercurial introduced a new internal repository format in 1.1 that
> avoided using these names, but existing local repositories continues to
> use the old format so old clients (on other platforms) keep working.
> (http://mercurial.selenic.com/wiki/fncacheRepoFormat )
>
> Recovery of your repository is described on
> http://mercurial.selenic.com/wiki/RepositoryCorruption .
>
> To avoid this kind of problems convert to the new format by creating a
> fresh clone with --pull .
I think Tony wants the dotencode repo format, which we introduced with
mercurial 1.7 to also protect against this kind of damage:
http://mercurial.selenic.com/wiki/UpgradeNotes#A1.7:_dotencode_repository_format
http://mercurial.selenic.com/wiki/UpgradingMercurial#Upgrading_and_downgrading_repository_formats
The dotencode format is the default for all newly created repositories.
More information about the Mercurial
mailing list