{"thread":{"id":"13404","subject":"git-svn trouble finding all branches/tags","startedAt":"2008-05-06T20:16:02Z","lastAt":"2008-05-11T18:36:30Z","messageCount":3,"participants":["Michael Fischer","Eric Wong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"76222","messageId":"20080506201602.GB10561@marlowe.visv.net","threadId":"13404","inReplyTo":null,"subject":"git-svn trouble finding all branches/tags","fromName":"Michael Fischer","fromEmail":"michael@visv.net","sentAt":"2008-05-06T20:16:02Z","receivedAt":"2008-05-06T20:16:02Z","isPatch":false,"sender":{"key":"michael@visv.net","avatar":null},"body":"\nScenario is initialization  of a local git repo from a remote\nSVN repo.\n\n\n$ git svn init -s https://svn.our.office/projname\n\n$ git svn fetch\n.........................\n\nNow, git branch -r shows trunk, one branch, 3 tags. There ought to be\n7 branches, and about 20 tags.\n\nIf I go into .git/svn/.metadata and change the \n\nbranches-maxRev\ntags-maxRev \n\nvalues to something much larger than anything in SVN (e.g. 1000000), \nand repeat 'git svn fetch', lather, rinse repeat, then I eventually\nhave all the branches and tags.\n\nSurely this isn't the way its supposed to happen?\n\nTIA.\n\n\nMichael\n-- \nMichael Fischer\nmichael@visv.net\n"},{"id":"76594","messageId":"20080511085145.GD23929@untitled","threadId":"13404","inReplyTo":"20080506201602.GB10561@marlowe.visv.net","subject":"Re: git-svn trouble finding all branches/tags","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2008-05-11T08:51:45Z","receivedAt":"2008-05-11T08:51:45Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Michael Fischer <michael@visv.net> wrote:\n> \n> Scenario is initialization  of a local git repo from a remote\n> SVN repo.\n> \n> \n> $ git svn init -s https://svn.our.office/projname\n> \n> $ git svn fetch\n> .........................\n> \n> Now, git branch -r shows trunk, one branch, 3 tags. There ought to be\n> 7 branches, and about 20 tags.\n> \n> If I go into .git/svn/.metadata and change the \n> \n> branches-maxRev\n> tags-maxRev \n> \n> values to something much larger than anything in SVN (e.g. 1000000), \n> and repeat 'git svn fetch', lather, rinse repeat, then I eventually\n> have all the branches and tags.\n> \n> Surely this isn't the way its supposed to happen?\n\nNo, I've never actually heard of this problem.  Which version of git-svn\nare you using?\n\nWithout further details about your repository layout, I'm not sure how\nto help you, either.  Is there anything non-standard in your layout\nor how the repository was created?\n\nThanks.\n\n-- \nEric Wong\n"},{"id":"76651","messageId":"20080511183630.GA11310@marlowe.visv.net","threadId":"13404","inReplyTo":"20080511085145.GD23929@untitled","subject":"Re: git-svn trouble finding all branches/tags","fromName":"Michael Fischer","fromEmail":"michael@visv.net","sentAt":"2008-05-11T18:36:30Z","receivedAt":"2008-05-11T18:36:30Z","isPatch":false,"sender":{"key":"michael@visv.net","avatar":null},"body":"On Sun, May 11, Eric Wong wrote:\n> Michael Fischer <michael@visv.net> wrote:\n> > \n> > Scenario is initialization  of a local git repo from a remote\n> > SVN repo.\n> > \n> > \n> > $ git svn init -s https://svn.our.office/projname\n> > \n> > $ git svn fetch\n> > .........................\n> > \n> > Now, git branch -r shows trunk, one branch, 3 tags. There ought to be\n> > 7 branches, and about 20 tags.\n> > \n> > If I go into .git/svn/.metadata and change the \n> > \n> > branches-maxRev\n> > tags-maxRev \n> > \n> > values to something much larger than anything in SVN (e.g. 1000000), \n> > and repeat 'git svn fetch', lather, rinse repeat, then I eventually\n> > have all the branches and tags.\n> > \n> > Surely this isn't the way its supposed to happen?\n> \n> No, I've never actually heard of this problem.  Which version of git-svn\n> are you using?\n> \n> Without further details about your repository layout, I'm not sure how\n> to help you, either.  Is there anything non-standard in your layout\n> or how the repository was created?\n\n1.5.4 (or maybe 1.5.5 - I can't log in there right now, but it was \n\"latest\" as of the date of my original mail).\n\nAs far as I know, there's nothing odd in the SVN layout. It has\nbranches under branches/, tags under tags/, etc...\n\nNow.... my boss did his first attempt by making an SVK copy of the \nSVN repo to his laptop, took that home over the weekend, and the\n'git svn fetch' got everything from SVK just fine on the first go.\n\nNot an SVN or SVK expert here, so I'm not sure how that might be\nusefully informative or not.. but I thought I'd mention it.\n\n\nMichael\n-- \nMichael Fischer\nmichael@visv.net\n"}]}