KeyError converting repository

Jamma Tino Schwarze <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
Hi there,

I'm back again trying to convert a repository. For certain reason
(svn:ignore properties going missing in certain branches during
conversion), I'm trying current cvs2svn trunk (r5270).

It fails with the following error:

cvs-repo/module1/very/long/path/Initialize.java,v
Traceback (most recent call last):
  File "/usr/local/bin/cvs2svn", line 70, in <module>
    svn_main(os.path.basename(sys.argv[0]), sys.argv[1:])
  File "/usr/local/lib64/python2.6/site-packages/cvs2svn_lib/main.py", line 113, in svn_main
    main(progname, run_options, pass_manager)
  File "/usr/local/lib64/python2.6/site-packages/cvs2svn_lib/main.py", line 96, in main
    pass_manager.run(run_options)
  File "/usr/local/lib64/python2.6/site-packages/cvs2svn_lib/pass_manager.py", line 181, in run
    the_pass.run(run_options, stats_keeper)
  File "/usr/local/lib64/python2.6/site-packages/cvs2svn_lib/passes.py", line 498, in run
    revision_collector.process_file(cvs_file_items)
  File "/usr/local/lib64/python2.6/site-packages/cvs2svn_lib/checkout_internal.py", line 616, in process_file
    _Sink(self, cvs_file_items),
  File "/usr/local/lib64/python2.6/site-packages/cvs2svn_rcsparse/__init__.py", line 44, in parse
    return Parser().parse(file, sink)
  File "/usr/local/lib64/python2.6/site-packages/cvs2svn_rcsparse/common.py", line 473, in parse
    self.parse_rcs_deltatext()
  File "/usr/local/lib64/python2.6/site-packages/cvs2svn_rcsparse/common.py", line 446, in parse_rcs_deltatext
    self.sink.set_revision_info(revision, log, text)
  File "/usr/local/lib64/python2.6/site-packages/cvs2svn_lib/checkout_internal.py", line 496, in set_revision_info
    cvs_rev_id = self.cvs_file_items.original_ids[revision]
KeyError: '1.232.2.36.2.2'

I've turned on verbose logging and took the file in question and tried to
convert just that single file which worked (I just ran passes 1-4). Okay, so
I tried converting the whole CVS module (which is quite large) - it still
works, no error.

How should I proceed to provide a useful debuggable setup?

Thanks,

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.tisc.de

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2656533

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.