Bug 118017 - cvs2svn failed to convert: "No such file or directory"
Summary: cvs2svn failed to convert: "No such file or directory"
Status: RESOLVED FIXED
: 143465 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: ConsoleApps (show other bugs)
Version: RC 4
Hardware: Other All
: P5 - None : Major
Target Milestone: ---
Assignee: Olaf Hering
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-20 14:48 UTC by Thomas Schraitle
Modified: 2006-01-17 11:29 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
CVS Repository of Novdoc (1.59 MB, application/x-tgz)
2005-09-21 07:30 UTC, Thomas Schraitle
Details
Output of strace (69.45 KB, application/x-gzip)
2005-09-21 07:54 UTC, Thomas Schraitle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schraitle 2005-09-20 14:48:27 UTC
I tried to convert my novdoc CVS respository into a Subversion repository. The     
options were:     
  
 $ cvs2svn --version  
 cvs2svn version r1427  
 $ cvs2svn  --fs-type=fsfs  -s novdoc.svn  novdoc.cvs/     
     
Unfortunatly it failed with the following error messages:     
     
======================================     
----- pass 8 -----     
Creating new repository 'novdoc.svn'     
Starting Subversion Repository.     
Starting Subversion commit 1 / 66     
Starting Subversion commit 2 / 66     
Traceback (most recent call last):     
  File "/usr/bin/cvs2svn", line 4828, in ?     
    main()     
  File "/usr/bin/cvs2svn", line 4822, in main     
    convert(start_pass, end_pass)     
  File "/usr/bin/cvs2svn", line 4458, in convert     
    _passes[i]()     
  File "/usr/bin/cvs2svn", line 4344, in pass8     
    repos.commit(svn_commit)     
  File "/usr/bin/cvs2svn", line 3309, in commit     
    self._add_path(cvs_rev)     
  File "/usr/bin/cvs2svn", line 3063, in _add_path     
    self._invoke_delegates('add_path', SVNCommitItem(cvs_rev, 1))     
  File "/usr/bin/cvs2svn", line 3358, in _invoke_delegates     
    getattr(delegate, method)(*args)     
  File "/usr/bin/cvs2svn", line 3782, in add_path     
    self._add_or_change_path(s_item, OP_ADD)     
  File "/usr/bin/cvs2svn", line 3712, in _add_or_change_path     
    pipe_cmd, pipe = get_co_pipe(c_rev, [ '-kk' ])     
  File "/usr/bin/cvs2svn", line 372, in get_co_pipe     
    pipe = SimplePopen(pipe_cmd, True)     
  File "/usr/bin/cvs2svn", line 77, in __init__     
    stdout=subprocess.PIPE, stderr=stderr)     
  File "/usr/lib64/python2.4/subprocess.py", line 558, in __init__     
    errread, errwrite)     
  File "/usr/lib64/python2.4/subprocess.py", line 991, in _execute_child     
    raise child_exception     
OSError: [Errno 2] No such file or directory     
     
======================================     
     
I tried it with the cvs2svn package from 9.3 and it worked (cvs2svn version     
r1421).  
     
Tell me if you need other things (my CVS repository is only 1.6 MBytes so I  
can send it if someone needs it.)  
  
Thanks,  
Tom
Comment 1 Olaf Hering 2005-09-20 18:40:22 UTC
tar up your cvs and place it somewhere.
Comment 2 Thomas Schraitle 2005-09-21 07:30:45 UTC
Created attachment 50517 [details]
CVS Repository of Novdoc

The file contains the complete CVS repository of the old Novdoc Innerforge
repository.
Comment 3 Olaf Hering 2005-09-21 07:45:34 UTC
works ok for me. run 

strace -fo foo.log -s 99 cvs2svn  --fs-type=fsfs  -s novdoc.svn  novdoc/

and attach the compressed foo.log
Comment 4 Thomas Schraitle 2005-09-21 07:54:46 UTC
Created attachment 50519 [details]
Output of strace

Attached the compressed foo.log output
Comment 5 Olaf Hering 2005-09-21 08:14:55 UTC
is rcs installed?
Comment 6 Thomas Schraitle 2005-09-21 08:21:15 UTC
rpm -q rcs 
package rcs is not installed 
 
No, it seems not. :) 
Comment 7 Olaf Hering 2005-09-21 09:13:07 UTC
added rcs to cvs2svn requirements.
Comment 8 Olaf Hering 2006-01-17 11:29:24 UTC
*** Bug 143465 has been marked as a duplicate of this bug. ***