VirtualBox

Changeset 30851 in vbox for trunk/src/apps


Ignore:
Timestamp:
Jul 14, 2010 6:02:23 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
63672
Message:

svnsync: fix unexporting files which aren't there (usually because the directory was exported later than the contents)

File:
1 edited

Legend:

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

    r29684 r30851  
    19761976    else
    19771977    {
     1978      if (!file_added_this_changeset)
     1979      {
     1980        svn_node_kind_t nodekind;
     1981        /* Verify that the previous source was exported to the destination
     1982         * repository. */
     1983        SVN_ERR(svn_ra_check_path(eb->to_session_prop,
     1984                                  STRIP_LEADING_SLASH(path),
     1985                                  SVN_IGNORED_REVNUM, &nodekind, pool));
     1986        if (nodekind == svn_node_none || nodekind != svn_node_file)
     1987          fb->prev_process = FALSE;
     1988      }
     1989
    19781990      if (fb->prev_process)
    19791991      {
Note: See TracChangeset for help on using the changeset viewer.

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