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

[jira] Closed: (SCM-491) release:perform with Mercurial performs a full hg clone from the remote repository

     [ http://jira.codehaus.org/browse/SCM-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg closed SCM-491.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

this should be fixed by MRELEASE-501

Please use the localCheckout option to use a file:// clone from the local repo instead of going over the network:

mvn release:perform -DlocalCheckout=true

> release:perform with Mercurial performs a full hg clone from the remote repository
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-491
>                 URL: http://jira.codehaus.org/browse/SCM-491
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-mercurial (hg)
>            Reporter: Fabrizio Giudici
>            Assignee: Mark Struberg
>             Fix For: 1.3
>
>
> Hello.
> When executing a release:perform, Maven forces hg to perform a clone of the remote repository in the target/checkout directory:
> [INFO] EXECUTING: /bin/sh -c cd /home/hudson/Builds/jrawio~TEST/target && hg clone -r 1.5.4 https://@kenai.com/hg/jrawio~src /home/hudson/Builds/jrawio~TEST/target/checkout
> Hg repos can be huge (even gigabytes) and thus operation causes a waste of bandwidth (and of time). It seems that the most obvious thing to do is to clone from the local copy in the main directory (e.g. hg clone -r 1.5.4 ..) and if you need to do a laster push you can explicitly specify the URL of the remote repository to the hg push command.

-- 
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