[PATCH] Copying Symlinks



A friend of mine was attempting to use Meld for diffing and merging directories that contained a mixture of files and links.  It ends up being a bit unintuitive as to what you end up seeing when you look at a directory diff with links.

1) There is no indication that a file is really a link.
2) A link may end up being different if the dereferenced files are different.  This can happen 2 ways.  First the links are the same but the files they point to are different in each window or if the links are different and the files are different.  If the files end up being the same, but the links are different, I think you end up seeing a little star in the icon.
3) Attempting to copy a link in either direction fails with an error dialog indicating that you cannot copy the file.

I made a quick and probably dirty patch to allow my friend to use meld for links.  All this patch attempts to address is last item, at least making it usable in copying links from dir to dir.

There is no extensive testing of the patch, but I'd like to have someone have a look at it.

Jeff



Attachment: copy_links.patch
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]