The SVN server structure is like this:
http://foo.net/code/design/
|-- trunk/
| |-- proj1
| |-- proj2
|-- tags/
| |-- forProj1
| |-- forProj2
|-- branches/
| |-- forProj1
To create the tag:
- Clone SVN:
$ git svn clone http://foo.net/code/design --trunk=trunk/proj1 --tags=tags/forProj1 --branches=branches/forProj1 localProjName - Then the tag can be created with simple command
$ git svn tag -n -m "test tag" test_v1
Do the branch in the same way.
The original question and answer can check http://stackoverflow.com/questions/8306592/git-svn-how-to-create-a-tag-branch-for-a-sub-project-of-svn