branching locally tries to reach forward svn server

Bug #250706 reported by kiorky
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Low
Jelmer Vernooij

Bug Description

bzr
====
bzr version-info
revision-id: <email address hidden>
date: 2008-07-18 11:00:17 +0100
build-date: 2008-07-22 07:59:21 +0200
revno: 3565
branch-nick: bzr.dev

bzr-svn
=======
bzr version-info
revision-id: <email address hidden>
date: 2008-07-01 23:10:34 +0200
build-date: 2008-07-22 08:00:18 +0200
revno: 1419
branch-nick: svn

Bzr tries to reach the forward svn server when branching locally a previous imported repository.

test case
==========
bzr branch svn+https://foo foo
bzr branch foo bar
< ... @foo password> ?

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 250706] [NEW] branching locally tries to reach forward svn server

On Tue, Jul 22, 2008 at 06:02:10AM -0000, kiorky wrote:
> Bzr tries to reach the forward svn server when branching locally a previous imported repository.

> test case
> ==========
> bzr branch svn+https://foo foo
> bzr branch foo bar
> < ... @foo password> ?
I can't reproduce this. In particular, I can't find *any* references
to svn+https://foo in the branch that is created using "bzr branch".
Can you try running something like this:

$ grep -r svn+https://foo foo/.bzr

?

  status incomplete

Cheers,

Jelmer

Changed in bzr-svn:
status: New → Incomplete
Revision history for this message
kiorky (kiorky) wrote :

Child from svn:

~> grep -r "svn+https" foo/.bzr/
foo/.bzr/branch/branch.conf:parent_location = svn+https://foo

~> grep -r "svn+https" bar/.bzr/
~>

Maybe thats another things that triggersthe connection to the parent svn branch at branching time?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

The parent_location isn't used by bzr-svn during "bzr branch" so that surprises me. Does the branch perhaps contain files that make it look like a svn branch or repository, e.g. does it contain a .svn directory or a hooks directory?

Revision history for this message
kiorky (kiorky) wrote :

here is the backtrace you asked me on irc

Running branch in offline mode.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This suggests that foo/.svn exists as a directory, is that the case?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This is caused by bzr browsing the file system. SvnCheckout() could lazily open the connection to the remote host.

Changed in bzr-svn:
assignee: nobody → jelmer
importance: Undecided → Low
milestone: none → 0.4.11
status: Incomplete → Triaged
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Triaged → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.