Re: KeyError converting repository
Jamma Tino Schwarze <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Sep 07, 2010 at 06:50:36PM +0200, Michael Haggerty wrote: > > I'm back again trying to convert a repository. For certain reason > > (svn:ignore properties going missing in certain branches during > > conversion), > > Maybe you are seeing issue 122? > > http://cvs2svn.tigris.org/issues/show_bug.cgi?id=122 (I managed to create a test case and attached it there). > If so, it should be fixable with a reasonable amount of effort, but so > far nobody has stepped forward. > > > 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? > > A bug report would be very welcome, *especially* if this error occurs on > trunk but not on the 2.3 branch. Unfortunately(?), I cannot reproduce this bug anymore. It disappeared as soon as I removed a single module from my set. So I went on to convert my original set of modules which surprisingly worked. I'm hoping it won't pop up again when I'm doing the real conversion - I fear I'd be kind of lost if it happens then. Thanks anyway, Tino. -- "What we nourish flourishes." - "Was wir nähren erblüht." www.tisc.de ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2659652 To unsubscribe from this discussion, e-mail: [[email protected]].