X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; q=dns; s=default; b=uGet
	g+n09Eq3X+6xec0wtQhwAavDPxQbRHfDXdktHl34E6Uw7wenEXC8JOuX5qpCakZh
	EiEr6GCZr8YrY8/vrbk9Z5v+sezrfKM4LFvX/Fvh30YVS0QgIcldx+AeMAHud9lu
	uw127QKn5A0y2pGtREl1qjHbHqGo1hGOpjYPthE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; s=default; bh=sgc2w4rsos
	XTyWlQWTlFErNrvHc=; b=r4vF+kfxkRuiKm4Xx36Eq8d1nrTl0YRvBStJu+peRc
	AkPTTwDK2tXz3ydr+hNebeYWrO6J0r9d2orL0sTTEIVDS6xGaWwMiy1Ub5aEDD03
	tYhegvZfpfiE5JkegVoWJ15K8/5PzJIdhEQ7L/R7TtqyCkkJxuhqVsiIni2w4Goj
	s=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Initialized, hth, HTH, Hx-languages-length:1509
X-HELO: mail-wm0-f43.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:date:from:to:subject:message-id:references         :mime-version:content-disposition:in-reply-to:user-agent;        bh=g9JFes0djZ/rFEuPSXOoOQvlTyxmCK+fr+SYaRqyZj8=;        b=EkN6AuUZ2a/arWmWKstRxY2IUlUs+3gbW0UbtemwqjcE0xsYm6ZmU5Uzfa4ipWvYyj         IeBfqDpZJZg4XJpAMaz7B5FIaB0WoiPN0phY42TC7GH8qfWPp7Zb7R8dfSXxDENPQJUP         0/eCQCf48vvqNtLNkmLXNYGc2bVePa0sR0FRuHHYeW4waZhntZM6J7Za5FC7PEI4zrLR         uuTqyKu8LuOxlh67n5vBoHLlPT6Ys8wRWUPUR1KfiEJJ+JJSK58bsd8BN23JSP9r6rfx         AR82kOUXSzaYv+v6/p1T+ETh0KvITLCEKOZwoXST0++tX8jQYSNRMiHLvMFE5KHNot70         6bYA==
X-Gm-Message-State: AD7BkJIQJ8RREP0+3l0v8FGRVoM6cqM1whABVNfmfm/D328RFxzuwZcLsWJ9IjWQtwvy5A==
X-Received: by 10.194.174.231 with SMTP id bv7mr20186wjc.17.1457553400951;        Wed, 09 Mar 2016 11:56:40 -0800 (PST)
Date: Wed, 9 Mar 2016 19:56:36 +0000
From: Adam Dinwoodie <adam@dinwoodie.org>
To: cygwin@cygwin.com
Subject: Re: git svn -T svn://svn. ...
Message-ID: <20160309195636.GF29016@dinwoodie.org>
References: <56DF1ABE.9050007@gmail.com> <20160309194606.GE29016@dinwoodie.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160309194606.GE29016@dinwoodie.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-IsSubscribed: yes

On Wed, Mar 09, 2016 at 07:46:06PM +0000, Adam Dinwoodie wrote:
> On Tue, Mar 08, 2016 at 01:32:30PM -0500, cyg Simple wrote:
> > Using the latest production release 2.4.1(1) the command is removing the
> > / after the svn: leaving svn:/svn which isn't correct.  Using
> > 'svn://svn' doesn't help either.
> > 
> > (2) $ git svn init -T 'svn://svn.code.sf.net/p/squirrelmail/code/trunk'
> > E: 'svn:/svn.code.sf.net/p/squirrelmail/code/trunk' is not a complete
> > URL  and a separate URL is not specified
> 
> I'm seeing the same behaviour on local builds of both v2.7.0 and v2.2.0,
> and when using http:// URIs as well as svn:// ones.  Very sad.
> 
> It's not immediately obvious what's going wrong here, and I don't
> currently have much spare time for digging, but I'll add it to my queue
> to investigate the problem / report it upstream to see if anyone else
> has any cunning ideas.

I've found a work-around.  I'm surprised it works, but it evidently
does, so...

If you do the `git svn init` without the `-T` argument, then set up the
branches to fetch explicitly using `git config`, everything seems to
work fine:

    $ git svn init svn://svn.code.sf.net/p/squirrelmail/code
    Initialized empty Git repository in /home/add/tmp/.git/

    $ git config svn-remote.svn.fetch trunk:refs/remotes/origin/trunk

    $ git svn fetch
    r1 = 12dc820c417dc5f12723307a3fcfa4629ea972fb (refs/remotes/origin/trunk)
            A       squirrelmail/ATHORS
            A       squirrelmail/login.php3
            A       squirrelmail/signout.php3
    ...

HTH

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

