jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Release Plugin
  • MRELEASE-433

Add parameter remoteTagging to release:branch (to prevent issue with svn > 1.5.0)

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 2.0-beta-9
  • Fix Version/s: 2.0
  • Component/s: branch
  • Labels:
    None
  • Environment:
        svn version > 1.5.0

Description

I have the same problem than http://jira.codehaus.org/browse/MRELEASE-427 when executing mvn release:branch.

It would be useful for me to add the -DremoteTagging argument also when making branches.

Thank you.

Issue Links

duplicates

Improvement - An improvement or enhancement to an existing feature or task. MRELEASE-461 Add a mojo parameter for using the new remote tagging for svn scm provider (to prevent issue with svn > 1.5.0) in branch mojo

  • Critical - Crashes, loss of data, severe memory leak.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Boris Maras added a comment - 18/May/09 6:39 AM

I also have the same problem when doing a release:branch. It fails with the following error :
[INFO] Executing: svn --username xxx --password ***** --non-interactive copy --file c:\DOCUME~1\XXX\LOCALS~1\Temp\mavenscm-306400304.commit . http://xxx/svn/TST/branches/yyy
[INFO] Working directory: d:\zzz org.apache.maven.shared.release.scm.ReleaseScmCommandException: Unable to branch SCM
Provider message:
The svn branch command failed.
Command output:
svn: Commit failed (details follow):
svn: File '/svn/TST/branches/xxx/database/pom.xml' already exists

I'm using version 1.6.2 of the svn client on Windows. It worked this version 1.4.5.

A workaround is to :

  • do a release:prepare : it fails
  • do a svn update
  • do a release:prepare once again : it works
Show
Boris Maras added a comment - 18/May/09 6:39 AM I also have the same problem when doing a release:branch. It fails with the following error : [INFO] Executing: svn --username xxx --password ***** --non-interactive copy --file c:\DOCUME~1\XXX\LOCALS~1\Temp\mavenscm-306400304.commit . http://xxx/svn/TST/branches/yyy [INFO] Working directory: d:\zzz org.apache.maven.shared.release.scm.ReleaseScmCommandException: Unable to branch SCM Provider message: The svn branch command failed. Command output: svn: Commit failed (details follow): svn: File '/svn/TST/branches/xxx/database/pom.xml' already exists I'm using version 1.6.2 of the svn client on Windows. It worked this version 1.4.5. A workaround is to :
  • do a release:prepare : it fails
  • do a svn update
  • do a release:prepare once again : it works
Hide
Permalink
Chris Kneeland added a comment - 10/Jul/09 5:58 PM

Although http://jira.codehaus.org/browse/MRELEASE-427 fixed the error with preparing and releasing with tags. The problem persists with release:branch. Getting the same error when creating new branch after POM changes were temporary committed.
C:\workspace.branches\web\WP2.1-media-19.1>mvn release:branch -DautoVersionSubmo
dules=true -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -Dbranc
hName=WP3-media-20.0

[...]

[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to branch SCM
Provider message:
The svn branch command failed.
Command output:
svn: Commit failed (details follow):
svn: File '/web/branches/WP3-media-20.0/media-billing/media-billing-domain/pom.x
ml' already exists

Show
Chris Kneeland added a comment - 10/Jul/09 5:58 PM Although http://jira.codehaus.org/browse/MRELEASE-427 fixed the error with preparing and releasing with tags. The problem persists with release:branch. Getting the same error when creating new branch after POM changes were temporary committed. C:\workspace.branches\web\WP2.1-media-19.1>mvn release:branch -DautoVersionSubmo dules=true -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -Dbranc hName=WP3-media-20.0 [...] [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Unable to branch SCM Provider message: The svn branch command failed. Command output: svn: Commit failed (details follow): svn: File '/web/branches/WP3-media-20.0/media-billing/media-billing-domain/pom.x ml' already exists
Hide
Permalink
Boris Maras added a comment - 27/Jul/09 2:24 AM

I think this is a duplicate of MRELEASE-461

Show
Boris Maras added a comment - 27/Jul/09 2:24 AM I think this is a duplicate of MRELEASE-461

People

  • Assignee:
    Olivier Lamy
    Reporter:
    Pablo
Vote (10)
Watch (13)

Dates

  • Created:
    01/Apr/09 3:41 PM
    Updated:
    27/Jul/09 2:36 AM
    Resolved:
    27/Jul/09 2:36 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.