Menu

#22 "List Only Deltas" causes directory merge to delete files

open
nobody
None
7
2012-09-23
2004-08-06
No

Steps to reproduce (for example):

  1. Turn on "List only deltas" under "Directory Merge"
    configuration tab.
  2. Select "Choose A for all items". This should copy
    all changes from "A" to "B".
  3. Perform merge.
  4. Any files which were identical in "A" and "B" have
    now been deleted from "B".

Discussion

  • Joachim Eibl

    Joachim Eibl - 2004-08-30

    Logged In: YES
    user_id=584435

    There seems to be a bug, but not exactly what you describe.
    When a subdirectory was there then the original "subdir" is renamed
    to "subdir.orig" and in the new "subdir" the previously identical files
    are really missing. Could you please confirm this?
    Thanks for writing. I'll fix this.
    Joachim

     
  • Toby Johnson

    Toby Johnson - 2004-08-30

    Logged In: YES
    user_id=274300

    I didn't mention in my original post that I have the "backup
    files (*.orig)" option turned off. If I turn this option
    back on, it behaves in the way you describe. But if it's
    off, the files that were identical to begin with are
    permanently deleted.

    The problem seems to be that, if you choose (for example)
    "A" instead of "Merge" for the parent directory, it does a
    recursive delete of that directory as the first step. But
    when "list only deltas" is on, instead of a recursive delete
    of the directory, it should only delete all the files which
    are showing as deltas.

     
  • Joachim Eibl

    Joachim Eibl - 2004-08-30

    Logged In: YES
    user_id=584435

    Yes, now I can reproduce it. It's worse than I thought, but I'm glad
    it doesn't happen with enabled backups. Thank you for the fast
    response.
    Joachim