Hi, Junio C Hamano: > $ git svnimport -T main/sources \ > http://127.0.0.1/svn/private/main/sources/photocat > > seems to be doing something. But I do not understand why. How > did you decide "-T main/sources" is good for my case while "-T > main/brltty" is good for Nicolas? I would have guessed you may > say "-T main" for Nicolas, dropping the last path component. > What git-svnimport does right now is rather simple. It pulls the log from the SVN URL, drops everything that does not have a prefix of either of the -t tags -T trunk -b branches options. The prefix is then thrown away. If it's a trunk, import the rest to the "origin" branch; otherwise remove the next path component and use that as either the branch name or the tag name. The point is that the picture in the SVN manual is incomplete. There's not just a branches/ subdirectory alongside the trunk/ one; trunk/ directly contains the project's files, while branches/ contains subdirectories which are named for the branch, and *they* contain the files. -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de - - If you're looking ahead long-term, and what you see looks like science fiction, it might be wrong. But if it doesn't look like science fiction, it's definitely wrong... -- Christine Peterson, - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Wed Nov 30 19:37:03 2005
This archive was generated by hypermail 2.1.8 : 2005-11-30 19:37:09 EST