1

I am trying to clone the achartengine subversion repository running the following command:

git svn clone http://achartengine.googlecode.com/svn -s achartengine

However, after process finished a unneeded subfolder is created:

├── achartengine
│   └── achartengine
│       ├── AndroidManifest.xml
│       ├── assets
│       ├── bin
│       ├── build.xml
│       ├── demo
│       ├── extra
│       ├── lib
│       ├── lint.xml
│       ├── pom.xml
│       ├── project.properties
│       ├── res
│       ├── src
│       └── test
└── .git

Is there a way to avoid the subfolder creation?

1 Answer 1

1

IMHO git-svn does the right thing, there is an unneeded subfoler in svn repo's trunk view. If you really want to avoid a subfoler, remove it in svn first.

Another way to solve this problem is to clone the subdirectory directly:

git svn clone http://achartengine.googlecode.com/svn/trunk/achartengine achartengine
Sign up to request clarification or add additional context in comments.

1 Comment

I thought I tried this before. Obviously not. Thank you. - Interesting enough: the GitHub importer does still create a subfolder.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.