List Info

Thread: How to convert cvs repository to svn repository without the installation of cvs2svn




How to convert cvs repository to svn repository without the installation of cvs2svn
user name
2007-05-28 21:08:33
Hi, Folks,
 
I am trying to convert the cvs repository to subversion repository, but I have no right as root to install the cvs2svn on Linux, so I just follow the cvs2svn documentation.
 
$cvs2svn-1.5.1/cvs2svn -s /home/dyb/tianxc/dybrepos /home/dyb/tianxc/dyb-offline/dybcvs
 
But failed with following messages:

----- pass 1 (CollectRevsPass) -----
Examining all CVS ',v' files...
Traceback (most recent call last):
  File "cvs2svn-1.5.1/cvs2svn", line 114, in ?
    main()
  File "cvs2svn-1.5.1/cvs2svn", line 106, in main
 ;   pass_manager.run(run_options.start_pass, run_options.end_pass)
  File "./cvs2svn_lib/pass_manager.py", line 122, in run
  File "./cvs2svn_lib/passes.py", line 126, in run
  File "./cvs2svn_lib/cvs_file_database.py", line 34, in __init__
  File "./cvs2svn_lib/database.py", line 100, in __init__
  File "/usr/lib/python2.2/anydbm.py", line 86, in open
 ;   return mod.open(file, flag, mode)
gdbm.error: (37, 'No locks available')
Thanks in advance,
Best Regards,
 

tianxc
2007-05-29
Re: How to convert cvs repository to svn repository without the installation of cvs2svn
user name
2007-05-29 03:33:24
tianxc wrote:
> But failed with following messages:
> 
> ----- pass 1 (CollectRevsPass) -----
> Examining all CVS ',v' files...
> Traceback (most recent call last):
>   File "cvs2svn-1.5.1/cvs2svn", line 114, in
?
>     main()
>   File "cvs2svn-1.5.1/cvs2svn", line 106, in
main
>     pass_manager.run(run_options.start_pass,
run_options.end_pass)
>   File "./cvs2svn_lib/pass_manager.py", line
122, in run
>   File "./cvs2svn_lib/passes.py", line 126,
in run
>   File "./cvs2svn_lib/cvs_file_database.py",
line 34, in __init__
>   File "./cvs2svn_lib/database.py", line 100,
in __init__
>   File "/usr/lib/python2.2/anydbm.py", line
86, in open
>     return mod.open(file, flag, mode)
> gdbm.error: (37, 'No locks available')

This can apparently result from trying to use gdbm over NFS.
 See for
example:

http://bulba.sdsu.
edu/docwiki/ToDo

If this is the problem, then you should be able to fix it by
setting
--tmpdir to be a directory on a local hard disk (which would
be
advantageous anyway from a speed perspective).

Michael

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribecvs2svn.tigris.org
For additional commands, e-mail: dev-helpcvs2svn.tigris.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )