Re: git svn fetch loses data
From: Victor Engmark <hidden>
Date: 2016-06-15 22:47:43
On Sat, Nov 14, 2009 at 6:25 PM, Sverre Rabbelier [off-list ref] wrote:
On Sat, Nov 14, 2009 at 18:07, Victor Engmark [off-list ref] wrote:quoted
but at the end about half of the root directories are missing.Can you be more specific, what is the layout of your repository and which directories are missing? / -- trunk -- branches -- tags -- thirdparty -- private
If your repository looks like that, and 'thirdparty' and 'private' are missing, that's because git svn assumes that you're only interested in trunk, branches and tags by default.
I'm not entirely sure which directories you mean - I've got none of those, neither in the repository nor the working copy. One of the directories missing in the top-level directory of the working copy is "Linux", which contains my .bashrc and tens of other config files. Which is really odd, because here are the last few lines of "git svn fetch --revision 993:1879": r1878 = 3fcec05426b59b0bad43b02cc3c367525d2c0b93 (git-svn) M Linux/etc/cups/printers.conf r1879 = 7ab92e8f4bb1a277621d67ba7373f56a694466c1 (git-svn) After checking this output a bit closer, it turns out only the directories and files that were retrieved by "git svn clone" (the first revision only) remain. Where did the files from the "git svn fetch" go? Do I need to run something after fetch to see them? -- Victor Engmark