You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stefan Seelmann (JIRA)" <ji...@codehaus.org> on 2009/11/20 11:18:55 UTC

[jira] Created: (MRELEASE-504) Check if working copy is up-to-date

Check if working copy is up-to-date
-----------------------------------

                 Key: MRELEASE-504
                 URL: http://jira.codehaus.org/browse/MRELEASE-504
             Project: Maven 2.x Release Plugin
          Issue Type: Improvement
          Components: prepare
    Affects Versions: 2.0-beta-9
            Reporter: Stefan Seelmann


It would be nice if the release:prepare goal could check if the working copy is up-to-date.

For svn the local and the remote revision number could be compared.
For git the it should also be possible to compare commit IDs.

My current problem that release:prepare fails if there is a newer revision in the SVN repository:
-----------------------------------------------------------
[INFO] Unable to commit files
Provider message:
The svn command failed.
Command output:
svn: Commit failed (details follow):
svn: File '/firstmodule/trunk/pom.xml' is out of date
-----------------------------------------------------------


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRELEASE-504) Check if working copy is up-to-date

Posted by "Stefan Seelmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198813#action_198813 ] 

Stefan Seelmann commented on MRELEASE-504:
------------------------------------------

As a pre-requirement I think SCM must support remote commands: http://jira.codehaus.org/browse/SCM-381


> Check if working copy is up-to-date
> -----------------------------------
>
>                 Key: MRELEASE-504
>                 URL: http://jira.codehaus.org/browse/MRELEASE-504
>             Project: Maven 2.x Release Plugin
>          Issue Type: Improvement
>          Components: prepare
>    Affects Versions: 2.0-beta-9
>            Reporter: Stefan Seelmann
>
> It would be nice if the release:prepare goal could check if the working copy is up-to-date.
> For svn the local and the remote revision number could be compared.
> For git the it should also be possible to compare commit IDs.
> My current problem that release:prepare fails if there is a newer revision in the SVN repository:
> -----------------------------------------------------------
> [INFO] Unable to commit files
> Provider message:
> The svn command failed.
> Command output:
> svn: Commit failed (details follow):
> svn: File '/firstmodule/trunk/pom.xml' is out of date
> -----------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MRELEASE-504) Check if working copy is up-to-date

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MRELEASE-504.
---------------------------------

    Resolution: Duplicate
      Assignee: Brett Porter

> Check if working copy is up-to-date
> -----------------------------------
>
>                 Key: MRELEASE-504
>                 URL: http://jira.codehaus.org/browse/MRELEASE-504
>             Project: Maven 2.x Release Plugin
>          Issue Type: Improvement
>          Components: prepare
>    Affects Versions: 2.0-beta-9
>            Reporter: Stefan Seelmann
>            Assignee: Brett Porter
>
> It would be nice if the release:prepare goal could check if the working copy is up-to-date.
> For svn the local and the remote revision number could be compared.
> For git the it should also be possible to compare commit IDs.
> My current problem that release:prepare fails if there is a newer revision in the SVN repository:
> -----------------------------------------------------------
> [INFO] Unable to commit files
> Provider message:
> The svn command failed.
> Command output:
> svn: Commit failed (details follow):
> svn: File '/firstmodule/trunk/pom.xml' is out of date
> -----------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira