Symlink kind changed to file on windows

Paul Harris harris.pc at gmail.com
Mon Nov 23 06:30:08 GMT 2009


2009/11/20 Alexander Belchenko <bialix at ukr.net>

> John Arbash Meinel пишет:
>
>  -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Paul Harris wrote:
>>
>>> Hi,
>>>
>>> I have a project that includes a Ruby on Rails website.  I checked the
>>> website plus the rails directories in on Linux, and all is well.
>>>
>>> I checked it out in Windows Vista, and I have win32symlink installed, so
>>> in cygwin, the symlinks actually work.   I don't use them in windows (I
>>> do other things in the project unrelated to rails), but they work.
>>>
>>
>> Cygwin works because it adds symlinks as a native type as an abstraction
>> underneath us (not because of win32symlink).
>>
>> win32symlink is currently broken because it hasn't been updated as we
>> implemented different code paths for reading/writing/etc files on disk.
>> I don't think Alexander is planning on maintaining win32symlink.
>>
>> - From your description, it looks like it still handles the 'write' side,
>> but it no longer handles the 'read' side. (So you can checkout something
>> that has symlinks, but you can't status/commit them correctly.)
>>
>> I don't really know what it would take to fix this. I believe
>> win32symlinks used to monkey-patch (alter-at-runtime) certain functions
>> to make it work, and we've now moved some of that functionality down
>> into a C extension.
>>
>
> This is all correct. I didn't maintained win32symlinks several years, but
> last time it stopped to work for me exactly as described: status converts
> symlinks to plain files.
>
> And keeping monkey-patching up-to-date is hard task.
>
> I'd recommend to Paul to using native Cygwin instead of my broken plugin.
>
> Sorry.
>
>
um, it doesn't work in cygwin either... or do you mean the non-windows bzr?
i just installed the standalone version, should I be using a different
version ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20091123/136585fe/attachment.htm 


More information about the bazaar mailing list