git svn - Which layout to use for git-svn in a project with standard layout currently and non standard layout in past -


should use standard layout param (-s) git svn when our subversion repository adheres standard layout although not case of history?

i'm trying import subversion repository git while history.

more details

first few years main project folders in root instead of trunk folder

/ - project folders in root   '- e.g. apps   '- components /branches /tags /trunk - empty 

after many years migration branch introduced , used few additional years

/ - project folders in root   '- e.g. apps   '- components /branches   '- migration - long living branch used main project work time       '- e.g. apps       '- components   '- few other branches (<3) /tags   '- many tags releases 

for past 1 year current state conforms standard layout

/ - no files, no folders in root (except trunk, branches, tags) /branches   '- oldmigration - migration branch renamed (moved)       '- e.g. apps       '- components   '- few other branches (<5)   '- oldroot - folders root moved here /tags   '- around 150 tags releases /trunk   '- e.g. apps   '- components 

update clarify, going forward not plan work (commit/checkout) oldmigration , oldroot anymore. want history reflect situation how purposes of reading history log , see changed files , why.

in situation, can feed git-svn multiple directories represent trunk, branches , tags cover possibilities throughout history.

i recommend doing in 2 steps, git svn init , git svn fetch, rather single git svn clone give bit more control.

in case be...

git svn init --trunk=trunk/ --trunk=. --branches=branches/ --tags=tags/ ... 

you may wish try --trunk=branches/migration, leave own historical branch (presumably later merged new trunk) trying git pretend trunk along.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -