You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kevin Bond <kd...@korl.com> on 2002/06/11 15:22:29 UTC

Bootstrapping

I am trying to use the bootstrap version of svn to checkout svn. and get 
the following problem:

AU svn/subversion/clients/win32/SVNControls/frmTest.frx
A  svn/subversion/clients/win32/SVNControls/cFlatHeader.cls
A  svn/subversion/clients/win32/SVNControls/SVNControls.ocx

subversion/libsvn_ra_dav/fetch.c:1033
svn_error: #21095 : <RA layer request failed>
   could not checkout a file

subversion/libsvn_ra_dav/util.c:81
svn_error: #21095 : <RA layer request failed>
   GET of 
/repos/svn/$svn/bc/2155/trunk/subversion/clients/win32/SVNControls/SVNControls.
ocx: Could not read response body: connection timed out.

The failure is consistent, and is most likely a network bug in 
Earthlink's PPPoE implementation that they refuse to acknowledge.

However, the bigger issue is how to recover from this.  Unlike CVS, I 
can't just do another checkout and ignore the warnings and it seem 
unlikely that an update would work, so how do I get past this error?

-kevin


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Bootstrapping

Posted by Kevin Pilch-Bisson <ke...@pilch-bisson.net>.
On Tue, Jun 11, 2002 at 11:54:19AM -0400, Kevin Bond wrote:
> 
> On Tuesday, June 11, 2002, at 11:35  AM, Philip Martin wrote:
> >
> >% svn co -r 0 -d wc http://svn.collab.net/repos/svn/trunk
> >% svn up wc
> 
> [localhost:~/Development] kdb% subversion-
> r2140/subversion/clients/cmdline/svn checkout 
> http://svn.collab.net/repos/svn/trunk -d svn -r 0
> 
> subversion/libsvn_ra_dav/util.c:81
> svn_error: #21095 : <RA layer request failed>
>   PROPFIND of /repos/svn/$svn/bc/0/trunk: 404 Not Found

That's a valid error. /trunk wouldn't have been created until the import in
rev 1.  Unfortunately, you would have to checkout -r 1, which would probably
have the same error.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: Bootstrapping

Posted by Philip Martin <ph...@codematters.co.uk>.
Kevin Pilch-Bisson <ke...@pilch-bisson.net> writes:

> > My mistake, 'trunk' doesn't exist in rev 0.  Try a non-recursive
> > checkout of rev 1
> > 
> > % svn checkout http://svn.collab.net/repos/svn/trunk -d svn -r 1 -n
> > 
> > and then an update (which will be recursive)
> > 
> > % svn up svn
> 
> Unless someone has re-vamped non-recursive checkout handling since I wrote it,
> this won't work either.  There will be no entries for the subdirs, and so the
> update will not realise that they are missing...

Hmm, you are right.  I've never tried it before, I just assummed it
would work :-(  I see we even have an issue saying it doesn't work.

-- 
Philip

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Bootstrapping

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Greg Stein <gs...@lyra.org> writes:
> As already discussed, our current checkouts are not restartable. And doing
> it over and over isn't working.

Yup -- I just didn't read his earlier mail carefully enough, sorry for
the noise.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

RE: Bootstrapping

Posted by Sander Striker <st...@apache.org>.
> From: Greg Stein [mailto:gstein@lyra.org]
> Sent: 11 June 2002 20:27

> On Tue, Jun 11, 2002 at 12:41:57PM -0500, Karl Fogel wrote:
> > Kevin Bond <kd...@korl.com> writes:
> > > Thanks, that nicely covers the problem I am seeing.  But now back to
> > > my original problem, since I want to start working on subversion I
> > > need to be able to get a clean checkout.  How best to go about this?
> > 
> > Umm.
> > 
> > Keep trying until you get all the way through the operation?
> > 
> > :-)
> 
> As already discussed, our current checkouts are not restartable. And doing
> it over and over isn't working.

Would disabling keepalives work maybe? [clutching at straws]

One solution would be checking out over ssl.

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Bootstrapping

Posted by Greg Stein <gs...@lyra.org>.
On Tue, Jun 11, 2002 at 12:41:57PM -0500, Karl Fogel wrote:
> Kevin Bond <kd...@korl.com> writes:
> > Thanks, that nicely covers the problem I am seeing.  But now back to
> > my original problem, since I want to start working on subversion I
> > need to be able to get a clean checkout.  How best to go about this?
> 
> Umm.
> 
> Keep trying until you get all the way through the operation?
> 
> :-)

As already discussed, our current checkouts are not restartable. And doing
it over and over isn't working.

-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Bootstrapping

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Kevin Bond <kd...@korl.com> writes:
> Thanks, that nicely covers the problem I am seeing.  But now back to
> my original problem, since I want to start working on subversion I
> need to be able to get a clean checkout.  How best to go about this?

Umm.

Keep trying until you get all the way through the operation?

:-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Bootstrapping

Posted by Ben Collins-Sussman <su...@collab.net>.
Kevin Bond <kd...@korl.com> writes:

> Thanks, that nicely covers the problem I am seeing.  But now back to
> my original problem, since I want to start working on subversion I
> need to be able to get a clean checkout.  How best to go about this?

Hmmm, not sure what to tell you, especially if you think that your ISP
is messing things up.  What happens when you try to do a manual GET of
the file, like:

   wget http://svn.collab.net/repos/svn/trunk/subversion/clients/win32/SVNControls/SVNControls.ocx

... or just opening the parent directory in your browser, and trying
to fetch the file using your browser's 'save target' ability?

Is there something cursed about that file that your ISP is blocking
it?

Otherwise, I'd say that you need to checkout the latest code on some
other box, then tar up the working copy and scp to your normal box.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Bootstrapping

Posted by Kevin Bond <kd...@korl.com>.
Thanks, that nicely covers the problem I am seeing.  But now back to my 
original problem, since I want to start working on subversion I need to 
be able to get a clean checkout.  How best to go about this?

-kevin

On Tuesday, June 11, 2002, at 01:11  PM, Ben Collins-Sussman wrote:

>
> I just filed an issue on it earlier today... see issue 730:
>
>   http://subversion.tigris.org/issues/show_bug.cgi?id=730
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Bootstrapping

Posted by Ben Collins-Sussman <su...@collab.net>.
Kevin Bond <kd...@korl.com> writes:

> As the discussion alludes, this leaves me in a state where I can NOT
> get svn to check out the latest svn.
> 
> I think this indicates a major lacking of functionality, as this type
> of network failure will be common in the real world and especially
> over VPN type connections.  Are there plans to add some way to resume
> these types of long operations?

I just filed an issue on it earlier today... see issue 730:

  http://subversion.tigris.org/issues/show_bug.cgi?id=730


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

RE: Bootstrapping

Posted by Sander Striker <st...@apache.org>.
> From: Kevin Bond [mailto:kdb@korl.com]
> Sent: 11 June 2002 19:08

> As the discussion alludes, this leaves me in a state where I can NOT get 
> svn to check out the latest svn.
> 
> I think this indicates a major lacking of functionality, as this type of 
> network failure will be common in the real world and especially over VPN 
> type connections.  Are there plans to add some way to resume these types 
> of long operations?

Ben just filed an issue on it.
See: http://subversion.tigris.org/issues/show_bug.cgi?id=730.


Sander


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Bootstrapping

Posted by Kevin Bond <kd...@korl.com>.
As the discussion alludes, this leaves me in a state where I can NOT get 
svn to check out the latest svn.

I think this indicates a major lacking of functionality, as this type of 
network failure will be common in the real world and especially over VPN 
type connections.  Are there plans to add some way to resume these types 
of long operations?

-kevin


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Bootstrapping

Posted by Kevin Pilch-Bisson <ke...@pilch-bisson.net>.
On Tue, Jun 11, 2002 at 05:09:02PM +0100, Philip Martin wrote:
> Kevin Bond <kd...@korl.com> writes:
> 
> > > You can try to checkout rev zero (or any other revision), and update
> > > that
> > >
> > > % svn co -r 0 -d wc http://svn.collab.net/repos/svn/trunk
> > > % svn up wc
> > 
> > [localhost:~/Development] kdb% subversion-
> > r2140/subversion/clients/cmdline/svn checkout
> > http://svn.collab.net/repos/svn/trunk -d svn -r 0
> > 
> > 
> > subversion/libsvn_ra_dav/util.c:81
> > svn_error: #21095 : <RA layer request failed>
> >    PROPFIND of /repos/svn/$svn/bc/0/trunk: 404 Not Found
> 
> My mistake, 'trunk' doesn't exist in rev 0.  Try a non-recursive
> checkout of rev 1
> 
> % svn checkout http://svn.collab.net/repos/svn/trunk -d svn -r 1 -n
> 
> and then an update (which will be recursive)
> 
> % svn up svn

Unless someone has re-vamped non-recursive checkout handling since I wrote it,
this won't work either.  There will be no entries for the subdirs, and so the
update will not realise that they are missing...
> 
> -- 
> Philip
> 
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: Bootstrapping

Posted by Philip Martin <ph...@codematters.co.uk>.
Kevin Bond <kd...@korl.com> writes:

> > You can try to checkout rev zero (or any other revision), and update
> > that
> >
> > % svn co -r 0 -d wc http://svn.collab.net/repos/svn/trunk
> > % svn up wc
> 
> [localhost:~/Development] kdb% subversion-
> r2140/subversion/clients/cmdline/svn checkout
> http://svn.collab.net/repos/svn/trunk -d svn -r 0
> 
> 
> subversion/libsvn_ra_dav/util.c:81
> svn_error: #21095 : <RA layer request failed>
>    PROPFIND of /repos/svn/$svn/bc/0/trunk: 404 Not Found

My mistake, 'trunk' doesn't exist in rev 0.  Try a non-recursive
checkout of rev 1

% svn checkout http://svn.collab.net/repos/svn/trunk -d svn -r 1 -n

and then an update (which will be recursive)

% svn up svn

-- 
Philip

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Bootstrapping

Posted by Kevin Bond <kd...@korl.com>.
On Tuesday, June 11, 2002, at 11:35  AM, Philip Martin wrote:

> Kevin Bond <kd...@korl.com> writes:
>
> Don't know if it helps, but the svn.collab.net repository is available
> on port 81 as well as port 80.
>
Does not matter.

>>
>>
>> However, the bigger issue is how to recover from this.  Unlike CVS, I
>> can't just do another checkout and ignore the warnings and it seem
>
> Really, what happens when you try?  Is the working copy locked?  If so
> run 'svn cleanup' first.  However a repeated checkout will start at
> the begining and attempt to retrieve the same files as the original
> checkout, so it probably won't help.
>

[localhost:~/Development] kdb% subversion-
r2140/subversion/clients/cmdline/svn checkout 
http://svn.collab.net/repos/svn/trunk -d svn

subversion/libsvn_wc/adm_files.c:1012
svn_error: #21036 : <Obstructed update>
   revison 2155 doesn't match existing revision 0 in 'svn'


>> unlikely that an update would work, so how do I get past this error?

[localhost:~/Development/svn] kdb% ../subversion-
r2140/subversion/clients/cmdline/svn update

subversion/libsvn_ra_dav/util.c:333
svn_error: #21061 : <Filesystem directory has no such entry>
   REPORT request failed on /repos/svn/trunk

subversion/libsvn_ra_dav/util.c:163
svn_error: #21061 : <Filesystem directory has no such entry>

file not found: transaction `37968', path `/trunk/svn_config.dsp'

>
> You can try to checkout rev zero (or any other revision), and update
> that
>
> % svn co -r 0 -d wc http://svn.collab.net/repos/svn/trunk
> % svn up wc

[localhost:~/Development] kdb% subversion-
r2140/subversion/clients/cmdline/svn checkout 
http://svn.collab.net/repos/svn/trunk -d svn -r 0

subversion/libsvn_ra_dav/util.c:81
svn_error: #21095 : <RA layer request failed>
   PROPFIND of /repos/svn/$svn/bc/0/trunk: 404 Not Found


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Bootstrapping

Posted by Philip Martin <ph...@codematters.co.uk>.
Kevin Bond <kd...@korl.com> writes:

> subversion/libsvn_ra_dav/fetch.c:1033
> svn_error: #21095 : <RA layer request failed>
>    could not checkout a file
> 
> subversion/libsvn_ra_dav/util.c:81
> svn_error: #21095 : <RA layer request failed>
>    GET of
>    /repos/svn/$svn/bc/2155/trunk/subversion/clients/win32/SVNControls/SVNControls.
> 
> ocx: Could not read response body: connection timed out.
> 
> The failure is consistent, and is most likely a network bug in
> Earthlink's PPPoE implementation that they refuse to acknowledge.

Don't know if it helps, but the svn.collab.net repository is available
on port 81 as well as port 80.

> 
> 
> However, the bigger issue is how to recover from this.  Unlike CVS, I
> can't just do another checkout and ignore the warnings and it seem

Really, what happens when you try?  Is the working copy locked?  If so
run 'svn cleanup' first.  However a repeated checkout will start at
the begining and attempt to retrieve the same files as the original
checkout, so it probably won't help.

> unlikely that an update would work, so how do I get past this error?

You can try to checkout rev zero (or any other revision), and update
that

% svn co -r 0 -d wc http://svn.collab.net/repos/svn/trunk
% svn up wc

-- 
Philip

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org