Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-503

Directory gives out of date error in putDirectory() to a non-empty Subversion repo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0, 3.1.0
    • 3.1.0
    • wagon-scm
    • None

    Description

      ScmWagon checks out target directory non-recursively, calls FileUtils.copyDirectoryStructure() and then tries to add and checkin these files.

      However, from the perspective of svn ScmWagon is trying to re-add existing folders which is an error.

      Normally, you would explicitly "svn up subdir", but the scm API does not support that. Instead I will erase existing checkout dir and perform a new checkout, recursive this time.

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              basinilya Ilya Basin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: