delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/03/11/10:28:36

X-Recipient: archive-cygwin AT delorie DOT 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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=tNJC6Slj7NnLLYLL
ciy6smMco9Pw85WaEBbYtwRa719FaDMJnOeKwgWKcgIUIU6Fn7DViQAiuYZ8ENRr
J9n4Pc1ga4mHlVB9r71MRnreRhXh1GKtzF5+8AG4xQ6z9TydfCbq64CFWhVHVfXE
7VgfaZpJGM97MtZUCUF+YFOKlGA=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=yt4hI14MVaVB9N7di5LtpB
sPBm4=; b=X2r5j/MGocAgJhuax6oWa8DSEjGVCWjezWg//VT+VU2wiMwmbWBQFU
eG3L7KNdCd0ywqat6oxH0ZadsjiTlQM5o6orFLWFpavA7h2cQflRgTpljuMMr8FB
+p6teLWJz9XQH0qXD3d3+t+Hh934fLosn/5Ztw+5zKhdoD1vtD29A=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=30pm, Hx-languages-length:1926, HContent-Transfer-Encoding:8bit
X-HELO: mail-io0-f182.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=QhcbDN9MYmijqn0vbSFB2bmZPuFoNblwxsWzD0cv404=; b=Y0/i55fwSer5QJ4D3+jziQuWnQkwwSoZXfGnwQp3IMbLrKRGq3l4/o82QK5BirQ7m2 LIYbgblCB6xgGHg8SxSBKuAooPUfzjL+y/owDUfIm1KvrwFTq+e98+zEvwfSqQzfKQY7 sYNyDmMrcpdeAg4MFWco7QTbLQOLNC7au+oS6TKv6Tvg8mVZo1PtT9jJbzVKthZxgXmR UXCn5JD9lf58TArbGI9Abd9AgGR604cnWb85TGvP/McLue4K9ajQR7jHEMHFbSqv6r6O y0UnoZHNusR5dPqHHCMus/kKfQUE3yONk/kyBXRG4vjZmMmcpJAg/Ftkp26cIskkV9io tmNw==
X-Gm-Message-State: AD7BkJKTMaXVgxPFNzs1Xut5Vd6hV0pi8ijT/DsyC4H5I2JUA634eThaOUt9egsXusDtCA==
X-Received: by 10.107.150.2 with SMTP id y2mr11412533iod.113.1457710097375; Fri, 11 Mar 2016 07:28:17 -0800 (PST)
Subject: Re: git svn -T svn://svn. ...
To: cygwin AT cygwin DOT com
References: <56DF1ABE DOT 9050007 AT gmail DOT com> <20160309194606 DOT GE29016 AT dinwoodie DOT org> <20160309195636 DOT GF29016 AT dinwoodie DOT org>
From: cyg Simple <cygsimple AT gmail DOT com>
Message-ID: <56E2E418.3030903@gmail.com>
Date: Fri, 11 Mar 2016 10:28:24 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <20160309195636.GF29016@dinwoodie.org>
X-IsSubscribed: yes

On 3/9/2016 2:56 PM, Adam Dinwoodie wrote:
> 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
> 

Thanks - my workaround involved a turtle. :D  I'll mark this mail to
remember it for a future try if the problem isn't resolved by then.

The issue seems to be in the git-svn module and not an issue of Cygwin
or git itself.  Maybe some magic with the double // in trying to be
copacetic in a Windows environment.

-- 
cyg Simple

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019