Hi,

When executing mvn scm:branch with an existing branch, the execution success without any warnings:
-------------------------------------------------------------
[INFO] [scm:branch]
[INFO] Final Branch Name: 'test1'
[INFO] Executing: /bin/sh -c cd /home/decherfb/tmp/testMavenComponentA1 && cvs -z3 -f -q tag -b -F -c test1
[INFO] Working directory: /home/decherfb/tmp/testMavenComponentA1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29 seconds
[INFO] Finished at: Tue Sep 23 11:17:04 CEST 2008
[INFO] Final Memory: 7M/15M
[INFO] ------------------------------------------------------------------------
---------------------------------------------------------------

This is not correct. We should have a way to detect that the branch wasn't created. The execution of the cvs command give:
-------------------------------------------------------------------
[EMAIL PROTECTED] testMavenComponentA1]$ cvs -z3 -f -q tag -b -F -c test1
cvs tag: .cvsignore: Not moving branch tag `test1' from 1.1 to 1.1.0.8.
cvs tag: pom.xml: Not moving branch tag `test1' from 1.22 to 1.22.0.4.
cvs tag: testfile: Not moving branch tag `test1' from 1.1 to 1.1.0.8.
cvs tag: src/main/java/com/kelkoo/test/App.java: Not moving branch tag `test1' from 1.4 to 1.4.0.8. cvs tag: src/test/java/com/kelkoo/test/AppTest.java: Not moving branch tag `test1' from 1.1 to 1.1.0.8.
---------------------------------------------------------------------

The behaviour is correct using svn.

Benoit

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to