GNOME Bugzilla – Bug 742250
Wrong comparison on subversion links
Last modified: 2017-12-13 19:09:33 UTC
I have the changed symbolic link in subversion repository, which changed from one path to another. 'meld .' shows the text 'link /correct/path/to/linled/file' in the left pane (ok), and the whole text of the linked file in the right pane (bad). Correct behavior is, obviously, to show 'link /new/path/to/file' in the right pane, and meld should never read the text of the linked file itself.
If you run 'meld .' you get a single-pane view of the SVN repo. How are there two panes here?
Sorry, I forgot to mention you also need to click on the item for the link in meld. Then it attempts to compare links in incorrect way.
I've reproduced this, but I'm not sure how fixable it is. I'm pretty sure that this is just an artifact of how subversion's symlink 'handling' 'works'. I can't see any way to get subversion to actually tell me what it thinks the state of the symlink in the working copy is (other than the usual modified), so the only way I can think of to fix this is to stat the file to figure out its a symlink, and then fake subversion-like file contents. I am... not a fan of this approach. If there's a way to convince svn to give us the 'link /new/path/to/file' style of information, then I'm happy to add a symlink check and run something different to get that output. The correct thing to do would be to show this like a file move in the repository view, but svn doesn't give us that detail.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/meld/issues/79.