lassik / mergedotnet

GUI-based N-way file sync program that does SFTP
Other
0 stars 0 forks source link

When symlink/Other wins over directory, the directory and its entries are shown as deleted (red) in the treeview even though they won't actually be deleted #25

Open lassik opened 9 years ago

lassik commented 9 years ago

Steps to reproduce:

  1. Create a directory bugtest on one Windows and one OSX host
  2. Create a subdirectory bar on both hosts
  3. Create a sub-subdirectory bar/baz on both hosts
  4. Create a symlink ´foothat points tobar` on the OSX host
  5. On the Windows host, create a subdirectory foo and a sub-subdirectory foo/baz.
  6. Open Merge on the Windows host. Add a local connection to the Windows host's bugtest dir and a SFTP connection to the OSX host's bugtest dir.
  7. Press Analyze.
  8. The treeview shows foo as type Dir/Other and as its sub-entry, baz as type Dir/None
  9. Decide the SFTP connection (type Other) to be the winner for foo

Bug: The Dir text for foo and baz is now shown in a strikethrough red font to indicate that they will be deleted (though nothing will actually be done to them).

Expected behavior: The Dir text for foo and baz should be in a black/gray and non-strikethrough font to accurately reflect the fact that nothing will actually be done to them.

Pressing Merge after this observation further confirms that no operations are generated (nothing is done to the directories).


lassik commented 9 years ago

Added formatting


Original Comment By: Lassi Kortela