svn-import and parent location

Martin Guillon MGuillon at movea.com
Wed May 19 07:50:37 BST 2010


Yes svn info works great with that address. I get a "200 OK"

Here is the .bzr.log from a pull command (sorry I had to change the svn address :s)

this is a debug log for diagnosing/reporting problems in bzr
you can delete or truncate this file, or include sections in
bug reports to https://bugs.launchpad.net/bzr/+filebug

mer. 2010-05-19 08:45:45 +0200
0.020  bazaar version: 2.1.1
0.020  bzr arguments: [u'-Dtransport', u'pull']
0.024  looking for plugins in /home/mguillon/.bazaar/plugins
0.024  looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.058  encoding stdout as sys.stdout encoding 'UTF-8'
0.096  failed to import pycurl: No module named pycurl
0.096  failed to instantiate transport <bzrlib.registry._LazyObjectGetter object at 962edc4, module='b
zrlib.transport.http._pycurl' attribute='PyCurlTransport'> for 'https://scm.company.com /src/Project/
trunk': DependencyNotPresent(Unable to import library "pycurl": No module named pycurl)
0.211  Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 853, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1055, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 661, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 665, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 122, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 993, in run
    possible_transports=possible_transports)
  File "/usr/lib/python2.6/dist-packages/bzrlib/branch.py", line 169, in open
    possible_transports=possible_transports)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 843, in open
    return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 873, in open_from_transport
    redirected)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 1644, in do_catching_redi
rections
    return action(transport)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 860, in find_format
    transport, _server_formats=_server_formats)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1824, in find_format
    raise errors.NotBranchError(path=transport.base)
NotBranchError: Not a branch: "https://scm.company.com /src/Project/trunk/".

-----Original Message-----
From: bazaar-bounces at lists.canonical.com [mailto:bazaar-bounces at lists.canonical.com] On Behalf Of Jelmer Vernooij
Sent: Tuesday, May 18, 2010 11:37 PM
To: Martin Guillon
Cc: bazaar
Subject: RE: svn-import and parent location

Hi Martin,

On Mon, 2010-05-17 at 09:30 -0700, Martin Guillon wrote:
> It s been a long time since my last message in this thread. 
> 
> But today I was asked again if I could pull or push from or new bzr 
> repository to our svn repository.
> 
>  
> 
> I created our bzr repo by using bzr-svn import.
> 

> Now the parent location of my branches are my svn branches which is 
> pretty good!
> 
> My problem comes afterwards.
> 
> Our svn repo address is like that: https://scm.mycompany.com:8443/...
> 
> If I try to do a pull using that parent address. Then I am asked for 
> my login/password (good) but then I get that
> 
> bzr: ERROR: Not a branch:
> "https://scm.mycompany.com:8443/svn/src/Project/trunk/".
> 
>  
> 
> I remember that there was a bug in a function to contact svn (wasn’t 
> using the right amount of parameters, but cant find it anymore :s) so 
> that s why I am using bzr 2.2b2 (windows)
Does svn work with that particular URL? In other words, does "svn info <url>" work ?

Alternatively you may want to try running "bzr -Dtransport pull", which will log extra information about the commands that are run on the Subversion repository in .bzr.log.

Cheers,

Jelmer



More information about the bazaar mailing list