From: Eric Wong Date: Tue, 10 Jul 2007 09:00:03 GMT Subject: Re: "svn switch" equivalent when using git-svn -- git-filter-branch? Message-ID: <20070710090003.GA18850@muzzle> In-Reply-To: <86ejjgzmxl.fsf@lola.quinscape.zz> David Kastrup wrote: > Eric Wong writes: > > > David Kastrup wrote: > >> Hi, > >> > >> an upstream svn repository that I access with git-svn has moved. I > >> seem to be too stupid to use git-filter-branch and/or .git/config > >> and/or git-reset to make my git mirror follow the switch. > > > > Just changing the url key in the [svn-remote] section of the .git/config > > file should be enough. > > > > You'll probably need to fetch at least one revision from the new URL > > before being able to dcommit, though. > > git-fetch works, but git-rebase -l still complains: > > git-svn rebase -l > Unable to determine upstream SVN information from working tree history > > And consequently I can't actually update. Does manually specifying the remote name work? Try bypassing the auto-detection of "git-svn rebase" and just using "git rebase " -- Eric Wong