Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-6942

Review CLI Tool should be able to upload a patch containing only added files

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Currently, if command line interface tool "crucible.py" is used to add a patch to review and the "svn diff" contain only new files, the anchor will fail and the patch is not uploaded.

      We will need to use the option "--noanchor" when uploading the patch with "crucible.py" so that it will not have the fail message:

      Error: Failed to anchor the patch to repository subversion, please check that the repository is the correct one
      

      The CLI tool "crucible.py" should detect new file from the diff and automatically disable anchoring to a repository so that it will not fail to upload the patch.

      Also, if repository to anchor patch to was provided when uploading patch, perhaps Crucible should honour it and anchor the patch to that repository, as long as it contains new files only and none of those files already exist in selected repository?

      Attachments

        Issue Links

          Activity

            People

              glewandowski Grzegorz Lewandowski
              klfoong Foong (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: