You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Bertrand Paquet (JIRA)" <ji...@codehaus.org> on 2011/11/27 14:11:39 UTC

[jira] Created: (SCM-648) Checkout should return 0 when cloning empty repo, with no master branch

Checkout should return 0 when cloning empty repo, with no master branch
-----------------------------------------------------------------------

                 Key: SCM-648
                 URL: https://jira.codehaus.org/browse/SCM-648
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-provider-git
    Affects Versions: 1.5
            Reporter: Bertrand Paquet
            Priority: Minor
         Attachments: patch

The checkout git command fail if repo does not contain a master branch, because the checkout try to do a git pull.

In the case of an empty remote repo, this patch only do a git clone.

After a such checkout, you can checkin a file, the remote branch will be automatically created by git.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (SCM-648) Checkout should return 0 when cloning empty repo, with no master branch

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/SCM-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated SCM-648:
-----------------------------

    Fix Version/s: 1.6
         Assignee: Olivier Lamy

> Checkout should return 0 when cloning empty repo, with no master branch
> -----------------------------------------------------------------------
>
>                 Key: SCM-648
>                 URL: https://jira.codehaus.org/browse/SCM-648
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-git
>    Affects Versions: 1.5
>            Reporter: Bertrand Paquet
>            Assignee: Olivier Lamy
>            Priority: Minor
>             Fix For: 1.6
>
>         Attachments: patch, patch
>
>
> The checkout git command fail if repo does not contain a master branch, because the checkout try to do a git pull.
> In the case of an empty remote repo, this patch only do a git clone.
> After a such checkout, you can checkin a file, the remote branch will be automatically created by git.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (SCM-648) Checkout should return 0 when cloning empty repo, with no master branch

Posted by "Bertrand Paquet (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/SCM-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Paquet updated SCM-648:
--------------------------------

    Attachment: patch

Add missing files into patch

> Checkout should return 0 when cloning empty repo, with no master branch
> -----------------------------------------------------------------------
>
>                 Key: SCM-648
>                 URL: https://jira.codehaus.org/browse/SCM-648
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-git
>    Affects Versions: 1.5
>            Reporter: Bertrand Paquet
>            Priority: Minor
>         Attachments: patch, patch
>
>
> The checkout git command fail if repo does not contain a master branch, because the checkout try to do a git pull.
> In the case of an empty remote repo, this patch only do a git clone.
> After a such checkout, you can checkin a file, the remote branch will be automatically created by git.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (SCM-648) Checkout should return 0 when cloning empty repo, with no master branch

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/SCM-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed SCM-648.
----------------------------

    Resolution: Fixed

fixed [rev 1207047|http://svn.apache.org/viewvc?rev=1207047&view=rev]
Thanks

> Checkout should return 0 when cloning empty repo, with no master branch
> -----------------------------------------------------------------------
>
>                 Key: SCM-648
>                 URL: https://jira.codehaus.org/browse/SCM-648
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-git
>    Affects Versions: 1.5
>            Reporter: Bertrand Paquet
>            Assignee: Olivier Lamy
>            Priority: Minor
>             Fix For: 1.6
>
>         Attachments: patch, patch
>
>
> The checkout git command fail if repo does not contain a master branch, because the checkout try to do a git pull.
> In the case of an empty remote repo, this patch only do a git clone.
> After a such checkout, you can checkin a file, the remote branch will be automatically created by git.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Reopened: (SCM-648) Checkout should return 0 when cloning empty repo, with no master branch

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/SCM-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy reopened SCM-648:
------------------------------


reopen as something as suck with git svn and all test git repo during my commit :-(

> Checkout should return 0 when cloning empty repo, with no master branch
> -----------------------------------------------------------------------
>
>                 Key: SCM-648
>                 URL: https://jira.codehaus.org/browse/SCM-648
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-git
>    Affects Versions: 1.5
>            Reporter: Bertrand Paquet
>            Assignee: Olivier Lamy
>            Priority: Minor
>             Fix For: 1.6
>
>         Attachments: patch, patch
>
>
> The checkout git command fail if repo does not contain a master branch, because the checkout try to do a git pull.
> In the case of an empty remote repo, this patch only do a git clone.
> After a such checkout, you can checkin a file, the remote branch will be automatically created by git.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (SCM-648) Checkout should return 0 when cloning empty repo, with no master branch

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/SCM-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed SCM-648.
----------------------------

    Resolution: Fixed

fixed [rev 1204747|http://svn.apache.org/viewvc?view=revision&revision=1204747]
Thanks !

> Checkout should return 0 when cloning empty repo, with no master branch
> -----------------------------------------------------------------------
>
>                 Key: SCM-648
>                 URL: https://jira.codehaus.org/browse/SCM-648
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-git
>    Affects Versions: 1.5
>            Reporter: Bertrand Paquet
>            Assignee: Olivier Lamy
>            Priority: Minor
>             Fix For: 1.6
>
>         Attachments: patch, patch
>
>
> The checkout git command fail if repo does not contain a master branch, because the checkout try to do a git pull.
> In the case of an empty remote repo, this patch only do a git clone.
> After a such checkout, you can checkin a file, the remote branch will be automatically created by git.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira