svn-import progress display

Asked by igor

I have an svn repo with about 40k commits which takes takes 500MB compressed.

I run svn-import and get no output for over an hour. How can it tell whether this is a bug or it is just taking too long?

I've imported from a smaller svn repo and I see a progress display. However, bzr-svn hangs on the larger repo before any progress is displayed.

Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Subversion Plugin Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
igor (igorsyl) said :
#1

I'm using bzr 1.5 and bzr-svn http://people.samba.org/bzr/jelmer/bzr-svn/trunk/ (revno: 1211)

Revision history for this message
Jelmer Vernooij (jelmer) said :
#2

All of the development is happening in the branch at http://people.samba.org/bzr/jelmer/bzr-svn/0.4 these days. Can you reproduce this problem with that branch?

No progress indication is certainly a bug.

Revision history for this message
igor (igorsyl) said :
#3

The setup.py script in 0.4 has hard-coded

    basedirs = ["/usr/local", "/usr"]

around line 74. My python installation is in my home directory.

I changed basedirs to point to my local bin directory, then build and install and bzr help displays:

Unable to load bzr-svn extensions - did you build it?
Unable to load plugin 'svn' from '~/lib/python2.5/site-packages/bzrlib/plugins'
Bazaar -- a free distributed version-control tool
http://bazaar-vcs.org/
...
...

Revision history for this message
igor (igorsyl) said :
#4

Bzr from http://launchpad.net/bzr-svn/0.4/0.4.10/+download/bzr-svn-0.4.10.tar.gz

installs ok but still hangs on svn-import and checkout (from svn)

Revision history for this message
Jelmer Vernooij (jelmer) said :
#5

Am Dienstag, den 01.07.2008, 19:32 +0000 schrieb igor:
> Question #37937 on Bazaar Subversion Plugin changed:
> https://answers.edge.launchpad.net/bzr-svn/+question/37937
>
> Status: Answered => Open
>
> igor is still having a problem:
> The setup.py script in 0.4 has hard-coded
>
> basedirs = ["/usr/local", "/usr"]
>
> around line 74. My python installation is in my home directory.
>
> I changed basedirs to point to my local bin directory, then build and
> install and bzr help displays:
>
> Unable to load bzr-svn extensions - did you build it?
> Unable to load plugin 'svn' from '~/lib/python2.5/site-packages/bzrlib/plugins'
> Bazaar -- a free distributed version-control tool
> http://bazaar-vcs.org/

What errors loading are there in your ~/.bzr.log file trying to load
bzr-svn?

Cheers,

Jelmer

--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Revision history for this message
igor (igorsyl) said :
#6

using http://launchpad.net/bzr-svn/0.4/0.4.10/+download/bzr-svn-0.4.10.tar.gz

>>> cat ~/.bzr.log

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

0.390 encoding stdout as sys.stdout encoding 'ANSI_X3.4-1968'
0.392 bzr arguments: [u'svn-import', u'svn://server/project/trunk']
0.392 looking for plugins in ~/.bazaar/plugins
0.394 looking for plugins in ~/lib/python2.5/site-packages/bzrlib/plugins
0.394 Plugin name __init__ already loaded
0.395 Plugin name __init__ already loaded
0.489 bzr-svn: using Subversion 1.5.0 (~/lib/svn-python/svn/core.pyc)
0.526 encoding stdout as sys.stdout encoding 'ANSI_X3.4-1968'
Control-C on bzr
141.173 return code 0

Revision history for this message
Jelmer Vernooij (jelmer) said :
#7

Am Dienstag, den 01.07.2008, 19:40 +0000 schrieb igor:
> Question #37937 on Bazaar Subversion Plugin changed:
> https://answers.edge.launchpad.net/bzr-svn/+question/37937
>
> Status: Answered => Open
>
> igor is still having a problem:
> using http://launchpad.net/bzr-svn/0.4/0.4.10/+download/bzr-
> svn-0.4.10.tar.gz
>
> >>> cat ~/.bzr.log
>
> 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
>
> 0.390 encoding stdout as sys.stdout encoding 'ANSI_X3.4-1968'
> 0.392 bzr arguments: [u'svn-import', u'svn://server/project/trunk']
> 0.392 looking for plugins in ~/.bazaar/plugins
> 0.394 looking for plugins in ~/lib/python2.5/site-packages/bzrlib/plugins
> 0.394 Plugin name __init__ already loaded
> 0.395 Plugin name __init__ already loaded
> 0.489 bzr-svn: using Subversion 1.5.0 (~/lib/svn-python/svn/core.pyc)
> 0.526 encoding stdout as sys.stdout encoding 'ANSI_X3.4-1968'
> Control-C on bzr
> 141.173 return code 0
This doesn't appear to be a recent version of bzr-svn, for certain it is
not the latest revision of the bzr-svn 0.4 branch...

Please try the 0.4 branch rather than the 0.4.10 one (which has far
fewer progress bars).

Cheers,

Jelmer

--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Revision history for this message
igor (igorsyl) said :
#8

The install script for 0.4 is broken:

The setup.py script in 0.4 has hard-coded

    basedirs = ["/usr/local", "/usr"]

around line 74. My python installation is in my home directory.

I changed basedirs to point to my local bin directory, then build and install and bzr help displays:

Unable to load bzr-svn extensions - did you build it?
Unable to load plugin 'svn' from '~/lib/python2.5/site-packages/bzrlib/plugins'
Bazaar -- a free distributed version-control tool
http://bazaar-vcs.org/

Revision history for this message
igor (igorsyl) said :
#9

~/bzr-svn-0.4% python setup.py install
Traceback (most recent call last):
  File "setup.py", line 77, in <module>
    (svn_includedir, svn_libdir) = svn_build_data()
  File "setup.py", line 74, in svn_build_data
    raise Exception("Subversion development files not found")
Exception: Subversion development files not found

Revision history for this message
Jelmer Vernooij (jelmer) said :
#10

Am Dienstag, den 01.07.2008, 20:14 +0000 schrieb igor:
> Question #37937 on Bazaar Subversion Plugin changed:
> https://answers.edge.launchpad.net/bzr-svn/+question/37937
>
> igor gave more information on the question:
> ~/bzr-svn-0.4% python setup.py install
> Traceback (most recent call last):
> File "setup.py", line 77, in <module>
> (svn_includedir, svn_libdir) = svn_build_data()
> File "setup.py", line 74, in svn_build_data
> raise Exception("Subversion development files not found")
> Exception: Subversion development files not found

You need to install libsvn-dev to build bzr-svn from source.

Jelmer

--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Can you help with this problem?

Provide an answer of your own, or ask igor for more information if necessary.

To post a message you must log in.