git - mapping branches/user/* properly in subgit -


i'm evaluating subgit, , looks imports well, except have both standard , nonstandard branches in our svn directory:

- trunk - tags - branches   - test   - jira_89   - jira_92   - user     - jim     - bob 

there standard branches branches/test , branches/jira_89, have few branches branches/user/jim , branches/user/bob.

what's right way rename these user branches subgit import?

you can use configuration

trunk = trunk:refs/heads/master branches = branches/*:refs/heads/* branches = branches/users/*:refs/heads/users/* shelves = shelves/*:refs/shelves/* tags = tags/*:refs/tags/* 

or if want branches/users/jim translated refs/heads/james (and branches/users/bob refs/heads/robert), use config

trunk = trunk:refs/heads/master branches = branches/*:refs/heads/* branches = branches/users/jim:refs/heads/james branches = branches/users/bob:refs/heads/robert branches = branches/users/*:refs/heads/users/* shelves = shelves/*:refs/shelves/* tags = tags/*:refs/tags/* 

but note in case branches/james , branches/robert won't translated if exist, because refs/heads/james , refs/heads/robert names taken (but can add special rules branches if want translate them).


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -