Can't see changes

Kevin Bullock kbullock+mercurial at ringworld.org
Wed Jul 27 16:47:41 UTC 2011


(cc'ing back to list—please keep discussion there)

On Jul 27, 2011, at 11:31 AM, Tony Cate wrote:

> On Jul 27, 2011, at 11:47 AM, Kevin Bullock wrote:
> 
>> On Jul 27, 2011, at 7:52 AM, Tony Cate wrote:
>> 
>>> I recently had to restore my project folder from a backup using Apple's Time Machine.
>> 
>> Could you explain more specifically what you mean by the following:
>> 
>>> My last change set is present,
>> 
>> So all the history is there?
> 
> Yes

So far so good.

>>> but no changes to source are being picked up.
>> 
>> Do you mean that you edit some file, and `hg st` doesn't show the changes?
> 
> Yes

Okay, that's weird.

>>> At some point I recall seeing a message that the DS.Store didn't match.
>> 
>> What gave you that message? What does "didn't match" mean?i05b2f6a908219 no match found
> 
> I tried to clone the project and got this:
> 
> hg command error
> abort: data/My Test Project/ DS_Store i05b2f6a908219 no match found

This is when you tried to clone the _restored_ repo? What does `hg verify` say?

>>> How do I fix this?
>> 
>> As a general rule, you should set up your .hgignore to ignore .DS_Store files. They're metadata for use by the Finder (window positions and icon locations and such). Not the sort of thing you generally need to track.
> 
> I did: 
> # A hidden file created by the Mac OS X Finder.
> .DS_Store
> 
> Tony


Yup, that would do it, but it looks like you've still got a .DS_Store file tracked in your history somewhere (.hgignore doesn't affect files that are already tracked or that you explicitly add.)

pacem in terris / mir / shanti / salaam / heiwa
Kevin R. Bullock




More information about the Mercurial mailing list