git-svn and svn branches

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

 



I followed the following instructions on adding a remote svn branch to my
local git-svn repository. http://www.dmo.ca/blog/20070608113513

Are these still accurate?

I started the repository with
  # git svn init [url/trunk]`
  # cd project.git
  # git svn fetch -r[HEAD revision]
which works fine. I added something like Snippet 1 to the .git/config and
issued a `git svn fetch -r[HEAD revision of the branch]` and nothing
happens. It takes git-svn a few seconds to run, but the git-remote svn
branch doesn't get initialized.

Does this procedure only work with a full mirror of a git-svn repository?
or perhaps I'm doing something wrong. Any help would be appreciated.

Thanks,
Ryan

Snippet 1
=========

[svn-remote "svn34"]
url = svn+ssh://your-server/home/svn/project-name/branches/3.4.x
fetch = :refs/remotes/git-svn-3.4

--
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