www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Truemper (JIRA)" <j...@apache.org>
Subject [jira] Commented: (INFRA-2739) Tags don't show up in git
Date Tue, 25 May 2010 16:01:33 GMT

    [ https://issues.apache.org/jira/browse/INFRA-2739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871216#action_12871216

Daniel Truemper commented on INFRA-2739:

Ups, you are right! git-svn is not doing this automatically. Instead I used the following
call (on OS X):

$ git for-each-ref refs/remotes/tags | cut -d / -f 4- | while read ref; do git tag -a "$ref"
-m"tag for $ref" "refs/remotes/tags/$ref"; done

May be it would be possible to integrate this as a post-commit-hook?


> Tags don't show up in git
> -------------------------
>                 Key: INFRA-2739
>                 URL: https://issues.apache.org/jira/browse/INFRA-2739
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Daniel Truemper
>            Assignee: Jukka Zitting
> Hi,
> somehow the SVN tags are not visible from Git. Instead of showing up as a tag each tag
is listed as "tags/$TAG" branch.
> Usually with
> $ git svn clone -s  http://svn.apache.org/repos/asf/couchdb/
> all branches and tags should show up correctly! It may be possible that with older versions
of Git you explicitly need to set the "{trunk,tags,branches}" names:
> $ git svn clone --trunk=trunk --branches=branches --tags=tags http://svn.apache.org/repos/asf/couchdb/
> Daniel

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message