Git, SVN, and within-repository links -


given pre-existing svn structure this:

trunk/    tools/       frob-1.2/       frob-1.4/       frob-1.8/       frob-latest/ => frob-1.8/ 

where "frob-latest" created svn:external property within-same-repository link...

what best way replicate in git-svn mirror of above repository, , in pure git repository (as considering migrating git in future)? i'm looking works in both windows , linux, use both.

the standard git-svn checkout ignores external property , hence frob-latest directory not exist in checkouts, breaks things.

on linux, possible manually create symlink in working copy, can propagated other linux users in pure git repository (as in git-svn repository cause conflict svn external, , symlinks don't work of windows tools).

on windows, possible manually create directory junction in working copy, can't propagated other users (and requires admin permissions set in first place).

git has "submodules" concept, on surface sounds equivalent svn:external, far can tell can point @ entire repository, not sub-path within repository (in case same repository), they're not useful application. seem they're lot more painful work externals, might unfamiliarity.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -