From: Adam Dinwoodie <adam@dinwoodie.org>
To: cygwin@cygwin.com
Subject: Re: git svn -T svn://svn. ...
Date: Wed, 09 Mar 2016 19:57:00 -0000 [thread overview]
Message-ID: <20160309195636.GF29016@dinwoodie.org> (raw)
In-Reply-To: <20160309194606.GE29016@dinwoodie.org>
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
next prev parent reply other threads:[~2016-03-09 19:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-08 18:33 cyg Simple
2016-03-09 19:46 ` Adam Dinwoodie
2016-03-09 19:57 ` Adam Dinwoodie [this message]
2016-03-11 15:28 ` cyg Simple
2016-03-16 18:39 ` Adam Dinwoodie
2016-03-18 14:53 ` cyg Simple
2016-03-17 12:45 ` Adam Dinwoodie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160309195636.GF29016@dinwoodie.org \
--to=adam@dinwoodie.org \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).