[PATCH 0 of 2] fncache and long filenames and '.' as 8th character
Adrian Buehlmann
adrian at cadifra.com
Sat Apr 21 16:54:17 UTC 2012
On 2012-04-21 17:55, Mads Kiilerich wrote:
>
> http://mercurial.selenic.com/bts/msg8154 discussed windows safety of the then
> new fncache encoding of long filenames and said:
>
>> We've got two choices:
>>
>> a) spin the repository layout ("fncache2"?)
>> b) quickly fix the bug and hope that no one is affected
>
> fncache was introduced in 1.1 and b) was committed in e54cf540c6ca and released
> in 1.1.1.
Right. Which was 18 days after 1.1 was released on 2008-12-02.
>> We've done (b) before, when we added escaping for directory names ending in .d
>> or .i. I think a total of one user was affected. This may be a similar situation.
>
> This time I am the user that was affected. A server had been running 1.1 for
> years - and when I upgraded it the repos broke in mysterious ways.
>
Jumping on 1.1 and sticking to use it for *years* without upgrading to
its important bugfix 1.1.1 was a really bad idea indeed.
More information about the Mercurial-devel
mailing list