From: Andy Parkins <andyparkins@gmail.com>
To: git@vger.kernel.org
Cc: Rogan Dawes <lists@dawes.za.net>
Subject: Re: git-svn and googlecode.com?
Date: Tue, 5 Jun 2007 10:05:44 +0100 [thread overview]
Message-ID: <200706051005.46603.andyparkins@gmail.com> (raw)
In-Reply-To: <46651AAD.4010705@dawes.za.net>
On Tuesday 2007 June 05, Rogan Dawes wrote:
> (Original) svn checkout http://webgoat.googlecode.com/svn/trunk/ webgoat
>
> (Funny, the initial path component had a space in it?!)
I suspect that that is not the case. The form of svn checkout is:
svn checkout <url> <directory>
So your command is saying check out http://webgoat.googlecode.com/svn/trunk/
to the local directory "webgoat". That is to say - it doesn't have a space
in it and in fact is nothing to do with the URL at all.
> 0 $ git-svn clone -T "trunk/ webgoat"
> https://webgoat.googlecode.com/svn/trunk/
> Initialized empty Git repository in .git/
> Using higher level of URL: https://webgoat.googlecode.com/svn/trunk =>
> https://webgoat.googlecode.com/svn
> W: Ignoring error from SVN, path probably does not exist: (175002): RA
> layer request failed: REPORT request failed on '/svn/!svn/bc/100':
> REPORT of '/svn/!svn/bc/100': 200 OK (https://webgoat.googlecode.com)
> Path 'trunk/trunk/ webgoat' was probably deleted:
... which explains this error because there is no path "trunk/ webgoat".
> However, the following command line does seem to work:
>
> git-svn clone -T "trunk/ webgoat" https://webgoat.googlecode.com/svn/
Oh dear; I'm surprised it worked as well as it did. I just ran this command,
which seemed to work well:
$ git-svn clone -T trunk http://webgoat.googlecode.com/svn/ webgoat-local
This clones webgoat.googlecode.com/svn to the local directory webgoat-local;
you can change "webgoat-local" to anything you want, it's just naming the
directory on your own computer.
If you're the maintainer then perhaps you will want to change "http"
to "https" as well.
> Note that I manually removed the "trunk" component from the URL. This
> suggests that there is something missing in the automatic "Using higher
> level" detection code.
I think there is no bug; it's simply a misunderstanding. git-svn working
wonderfully for me.
Andy
--
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
next prev parent reply other threads:[~2007-06-05 9:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-05 8:11 git-svn and googlecode.com? Rogan Dawes
2007-06-05 9:05 ` Andy Parkins [this message]
2007-06-05 10:11 ` Rogan Dawes
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=200706051005.46603.andyparkins@gmail.com \
--to=andyparkins@gmail.com \
--cc=git@vger.kernel.org \
--cc=lists@dawes.za.net \
/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 NNTP newsgroup(s).