Can't see changes
Adrian Buehlmann
adrian at cadifra.com
Wed Jul 27 22:13:31 UTC 2011
On 2011-07-28 00:08, Matt Mackall wrote:
> On Wed, 2011-07-27 at 16:50 -0500, Kevin Bullock wrote:
>> On Jul 27, 2011, at 4:33 PM, Matt Mackall wrote:
>>
>>> On Wed, 2011-07-27 at 16:16 -0500, Kevin Bullock wrote:
>>>> I wonder if it would merit having hg issue a warning when making such
>>>> a clone of a repo that tracks a .DS_Store file?
>>>
>>> What case would that address?
>>
>> It would give people an indication that they should `hg clone --pull` their repo to avoid corruption issues like this.
>>
>>> I guess we could warn on local hardlink clones contain files that are
>>> not safe without dotencode (there's similar brokenness that bites people
>>> on Windows with Explorer).
>>
>> The only concern I can think of with doing that: would you have to walk every revision in the manifest on every clone to check?
>
> No, because we have to walk the store to create the links. We've also
> had a thing called an fncache for a while now that has all the known
> names.
Kevin:
See the implementation of 'hg manifest --all' for an example for how to
walk all files in the history of a repo by using .hg/store/fncache.
More information about the Mercurial
mailing list