Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svn.cpp: Do not call svn_fs_copied_from on delete #4

Merged
merged 1 commit into from Dec 1, 2015

Commits on Oct 24, 2015

  1. svn.cpp: Do not call svn_fs_copied_from on delete

    Deleted paths will not be in the repository in the revision where they
    were deleted. Calling svn_fs_copied_from() on such a path will return an
    error and abort operations, which is not what we want here.
    
    Fix this by not calling svn_fs_copied_form if the change is a deletion
    (i.e. change->change_kind == svn_fs_path_change_delete).
    
    Failure to do so leads to error messages when exporting a repository:
    
        Exporting revision 8 svn: E160013: File not found: revision 8, path '/trunk/base/Tcl/pkgIndex.tcl'
    
    Signed-off-by: Clemens Lang <neverpanic@gmail.com>
    neverpanic committed Oct 24, 2015
    Copy the full SHA
    958dcec View commit details
    Browse the repository at this point in the history