From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38861 invoked by alias); 11 Mar 2016 15:28:21 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 38848 invoked by uid 89); 11 Mar 2016 15:28:20 -0000 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 Received: from mail-io0-f182.google.com (HELO mail-io0-f182.google.com) (209.85.223.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 11 Mar 2016 15:28:19 +0000 Received: by mail-io0-f182.google.com with SMTP id n190so149875818iof.0 for ; Fri, 11 Mar 2016 07:28:19 -0800 (PST) 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) Received: from [192.168.0.9] (d27-96-48-76.nap.wideopenwest.com. [96.27.76.48]) by smtp.gmail.com with ESMTPSA id ys7sm919729igb.21.2016.03.11.07.28.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Mar 2016 07:28:16 -0800 (PST) Subject: Re: git svn -T svn://svn. ... To: cygwin@cygwin.com References: <56DF1ABE.9050007@gmail.com> <20160309194606.GE29016@dinwoodie.org> <20160309195636.GF29016@dinwoodie.org> From: cyg Simple Message-ID: <56E2E418.3030903@gmail.com> Date: Fri, 11 Mar 2016 15:28:00 -0000 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> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00163.txt.bz2 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