clean-git no longer works

Issue #20 new
Shane Wignall created an issue

git-svn version 2.11.0.windows.3 (svn 1.9.3) git version 2.11.0.windows.3

clean-git doesn't seem to do anything helpful. The branches stay as remotes, and are never converted into local branches.

all branches are returned from: git branch -s and only "master" is returned from: git branch

Comments (6)

  1. amiraBN

    Hi

    I do have the same issue. Have you been able to resolve the issue. I can't see tags on bitbuckets.

  2. Former user Account Deleted

    This is a new behaviour of Git >= 2.0... see man page of git svn

    do the git svn clone with --prefix="" then the script should work as expected.

    I don't know if atlassian still maintains these scripts or not

  3. amiraBN

    Hi thank you for your answer. But when I am trying with the --prefix="" or --prefic=origin/ I got the following error E: 'trunk' is not a complete URL and a separate URL is not specified

  4. Former user Account Deleted

    There might be an error in your command

    I've done it with git svn clone --stdlayout --prefix="" svn://svn.mydomain.com/path/to/repo/ migrationRepo

    successfully. Keep in mind, that you don't have to write the complete url with trunk (svn://svn.mydomain.com/path/to/repo/ not svn://svn.mydomain.com/path/to/repo/trunk) if you use the standard-layout trunk, branches and tags for your subversion repository

  5. Log in to comment