Re: git-svn: Fetch svn branches only and have git recognize them as branches?

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

 



Junio C Hamano <gitster <at> pobox.com> writes:
> 
>      git svn init --minimize-url \
>       --trunk http://repository-root/foo/trunk \
>       --branches http://repository-root/foo/branches \
>       --tags http://repository-root/foo/tags
> 
>     And this is where the new --minimize-url command-line switch
>     comes in to allow for this behavior to continue working.
> 
> The description of the commit makes me think that mimicking the
> sample command line without minimize-url ought to work, i.e.
> 
>     git svn init \
>         --trunk    http://abc.com/repo/trunk \
>         --branches http://abc.com/repo/branches \
>         --tags     http://abc.com/repo/tags
> 

Sounds like what I need.  But both of these are yielding the following error:

"E: 'http:/abc.com/foo/trunk' is not a complete URL  and a separate URL is
not specified"

Notice the one slash after http:.

Here's the exact script I'm running to test:

$ cat sample.sh 
#!/bin/sh

rm -rf .git

git svn init \
      --trunk http://abc.com/foo/trunk \
      --branches http://abc.com/foo/branches \
      --tags http://abc.com/foo/tags


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