VirtualBox

Changeset 76026 in vbox for trunk/src/apps/svnsync-vbox


Ignore:
Timestamp:
Dec 6, 2018 7:56:16 PM (6 years ago)
Author:
vboxsync
Message:

svnsync-vbox: handle tricky cases better: deleting of files which are changed and renamed in a directory which also got renamed (only way is to ignore the error, found no way to detect) and also handle adding files which get renamed in the same changeset (i.e. newly exported and renamed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/apps/svnsync-vbox/main.c

    r63568 r76026  
    15541554  {
    15551555    eb->changeset_live = TRUE;
    1556     SVN_ERR(eb->wrapped_editor->delete_entry(path, base_revision,
    1557                                              pb->wrapped_node_baton, pool));
     1556    /* Deliberately ignore error, it's the only safe solution. */
     1557    eb->wrapped_editor->delete_entry(path, base_revision,
     1558                                     pb->wrapped_node_baton, pool);
    15581559  }
    15591560
     
    19611962                           eb->current, &fb->process, NULL, NULL, pool));
    19621963    if (file_added_this_changeset)
    1963       fb->prev_process = fb->process;
     1964      fb->prev_process = FALSE;
    19641965    fb->prev_process_default = FALSE;
    19651966    fb->process_default = FALSE;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette