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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: wagon-scm
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: