* git-svn trouble finding all branches/tags @ 2008-05-06 20:16 Michael Fischer 2008-05-11 8:51 ` Eric Wong 0 siblings, 1 reply; 3+ messages in thread From: Michael Fischer @ 2008-05-06 20:16 UTC (permalink / raw) To: git Scenario is initialization of a local git repo from a remote SVN repo. $ git svn init -s https://svn.our.office/projname $ git svn fetch ......................... Now, git branch -r shows trunk, one branch, 3 tags. There ought to be 7 branches, and about 20 tags. If I go into .git/svn/.metadata and change the branches-maxRev tags-maxRev values to something much larger than anything in SVN (e.g. 1000000), and repeat 'git svn fetch', lather, rinse repeat, then I eventually have all the branches and tags. Surely this isn't the way its supposed to happen? TIA. Michael -- Michael Fischer michael@visv.net ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-svn trouble finding all branches/tags 2008-05-06 20:16 git-svn trouble finding all branches/tags Michael Fischer @ 2008-05-11 8:51 ` Eric Wong 2008-05-11 18:36 ` Michael Fischer 0 siblings, 1 reply; 3+ messages in thread From: Eric Wong @ 2008-05-11 8:51 UTC (permalink / raw) To: Michael Fischer, git Michael Fischer <michael@visv.net> wrote: > > Scenario is initialization of a local git repo from a remote > SVN repo. > > > $ git svn init -s https://svn.our.office/projname > > $ git svn fetch > ......................... > > Now, git branch -r shows trunk, one branch, 3 tags. There ought to be > 7 branches, and about 20 tags. > > If I go into .git/svn/.metadata and change the > > branches-maxRev > tags-maxRev > > values to something much larger than anything in SVN (e.g. 1000000), > and repeat 'git svn fetch', lather, rinse repeat, then I eventually > have all the branches and tags. > > Surely this isn't the way its supposed to happen? No, I've never actually heard of this problem. Which version of git-svn are you using? Without further details about your repository layout, I'm not sure how to help you, either. Is there anything non-standard in your layout or how the repository was created? Thanks. -- Eric Wong ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-svn trouble finding all branches/tags 2008-05-11 8:51 ` Eric Wong @ 2008-05-11 18:36 ` Michael Fischer 0 siblings, 0 replies; 3+ messages in thread From: Michael Fischer @ 2008-05-11 18:36 UTC (permalink / raw) To: Eric Wong; +Cc: Michael Fischer, git On Sun, May 11, Eric Wong wrote: > Michael Fischer <michael@visv.net> wrote: > > > > Scenario is initialization of a local git repo from a remote > > SVN repo. > > > > > > $ git svn init -s https://svn.our.office/projname > > > > $ git svn fetch > > ......................... > > > > Now, git branch -r shows trunk, one branch, 3 tags. There ought to be > > 7 branches, and about 20 tags. > > > > If I go into .git/svn/.metadata and change the > > > > branches-maxRev > > tags-maxRev > > > > values to something much larger than anything in SVN (e.g. 1000000), > > and repeat 'git svn fetch', lather, rinse repeat, then I eventually > > have all the branches and tags. > > > > Surely this isn't the way its supposed to happen? > > No, I've never actually heard of this problem. Which version of git-svn > are you using? > > Without further details about your repository layout, I'm not sure how > to help you, either. Is there anything non-standard in your layout > or how the repository was created? 1.5.4 (or maybe 1.5.5 - I can't log in there right now, but it was "latest" as of the date of my original mail). As far as I know, there's nothing odd in the SVN layout. It has branches under branches/, tags under tags/, etc... Now.... my boss did his first attempt by making an SVK copy of the SVN repo to his laptop, took that home over the weekend, and the 'git svn fetch' got everything from SVK just fine on the first go. Not an SVN or SVK expert here, so I'm not sure how that might be usefully informative or not.. but I thought I'd mention it. Michael -- Michael Fischer michael@visv.net ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-05-11 18:37 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-05-06 20:16 git-svn trouble finding all branches/tags Michael Fischer 2008-05-11 8:51 ` Eric Wong 2008-05-11 18:36 ` Michael Fischer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox