Re: git-svn questions: how to clone/init non-standard layout branches/tags?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 3, 2007 9:41 PM, Luke Lu <git@xxxxxxxxxx> wrote:
> On Nov 3, 2007, at 1:32 PM, Lars Hjemli wrote:
> > On Nov 3, 2007 9:01 PM, Luke Lu <git@xxxxxxxxxx> wrote:
> >> I did try to add a "fetch" line for the production branch like this:
> >>
> >> [svn-remote "svn"]
> >>          url = svn+ssh://host/svn/project
> >>          fetch = production:refs/remotes/svn-prod
> >>          fetch = trunk:refs/remotes/git-svn
> >>
> >> which is modeled after http://lists-archives.org/git/420712-git-svn-
> >> remote-tracking-branch-question.html
> >>
> > Did you forget to run 'git svn fetch' after modifying your .git/
> > config?
>
> Yes, I did. It didn't seem to do anything.

Hmm, it works for me, I've been adding and removing branches like this
for months, but my .git/config is slightly different:

[svn-remote "svn"]
        url = svn://example.org
        fetch = project/trunk:refs/remotes/svn/trunk
        fetch = project/branches/topic:refs/remotes/svn/topic

I don't know if this difference is important, though...

-- 
larsh
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux