VirtualBox

Changeset 48253 in vbox for trunk/src


Ignore:
Timestamp:
Sep 3, 2013 7:33:08 PM (11 years ago)
Author:
vboxsync
Message:

svnsync-vbox/main.c: rip out some incorrect code again, was worse than before

File:
1 edited

Legend:

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

    r48252 r48253  
    12421242  svn_boolean_t prev_process_default, process_default;
    12431243  svn_boolean_t prev_process_recursive, process_recursive;
    1244   svn_boolean_t added_ancestor_dir; /* This dir or its ancestors were added in this changeset */
    12451244  svn_boolean_t ignore_everything; /* Ignore operations on this dir/file. */
    12461245  svn_boolean_t ignore_everything_rec; /* Recursively ignore operations on subdirs/files. */
     
    16111610    {
    16121611      /* Genuinely add a new dir, referring to other revision/name if known. */
    1613       b->added_ancestor_dir = TRUE;
    16141612      SVN_ERR(eb->wrapped_editor->add_directory(path, pb->wrapped_node_baton,
    16151613                                                copyfrom_path,
     
    16771675
    16781676  DX(fprintf(stderr, "open_directory %s\n", path);)
    1679   db->added_ancestor_dir = pb->added_ancestor_dir;
    16801677  db->ignore_everything_rec = pb->ignore_everything_rec;
    16811678  db->ignore_everything = db->ignore_everything_rec;
     
    16881685    SVN_ERR(svn_ra_check_path(eb->from_session_prop, STRIP_LEADING_SLASH(path),
    16891686                              eb->current-1, &nodekind, pool));
    1690     dir_added_this_changeset =    db->added_ancestor_dir
    1691                                || (nodekind != svn_node_dir);
     1687    dir_added_this_changeset = (nodekind != svn_node_dir);
    16921688    if (!dir_added_this_changeset)
    16931689    {
     
    17611757        /* Directory appears due to changes to the process settings. */
    17621758        eb->changeset_live = TRUE;
    1763         db->added_ancestor_dir = TRUE;
    17641759        SVN_ERR(eb->wrapped_editor->add_directory(path, pb->wrapped_node_baton,
    17651760                                                  NULL, SVN_IGNORED_REVNUM, pool,
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