cvs2svn KeyError 1.1.1

"Andersen, Krista" <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <8F45DC92E0230148B791DAB5577DC81520E3140A51@MSG-MBX01-NA.win.itginc.com>
Hi,

I'm new to using cvs2svn and have hit an error that I hope you can help me work around.  We are using cvs2svn v2.3.0 and have also tried the trunk version at v2.4.0 r5342.  Both versions result in the same error: KeyError: '1.1.1' ... or more precisely the command and output are pasted below.

Although there are KeyErrors in the archives - they appear to be on older cvs2svn releases.  I did not find any suggestions there that fix our error.

The output pasted below is from a conversion attempt of a stripped down version of my CVS repo - after using destroy_repository.py  and shrink_test_case.py.  I looked in the remaining file but I do not see a corruption that I can recognize.


We have:
cvs2svn v2.3.0 *and* have also tried the trunk version at v2.4.0 r5342
Unix - Sparc-solaris2.10
Python 2.5.4

** cvs2svn release  v2.3.0 **
[server:/]>  /cvs/cvs2svn-2.3.0/cvs2svn --username= cvsuser --encoding=latin1 --dumpfile= /tmp/cvs-cvs.dmp  /cvsroot/cvs_test/cvs-home/home/cvsDESTROY
----- pass 1 (CollectRevsPass) -----
Examining all CVS ',v' files...
/cvsroot/cvs_test/cvs-home/home/cvsDESTROY/dir010/dir109/dir1768/dir109/file6217,v
Traceback (most recent call last):
  File " /cvs/cvs2svn-2.3.0/cvs2svn", line 70, in <module>
    svn_main(os.path.basename(sys.argv[0]), sys.argv[1:])
  File " /cvs/cvs2svn-2.3.0/cvs2svn_lib/main.py", line 103, in svn_main
    main(progname, run_options, pass_manager)
  File " /cvs/cvs2svn-2.3.0/cvs2svn_lib/main.py", line 86, in main
    pass_manager.run(run_options)
  File " /cvs/cvs2svn-2.3.0/cvs2svn_lib/pass_manager.py", line 181, in run
    the_pass.run(run_options, stats_keeper)
  File " /cvs/cvs2svn-2.3.0/cvs2svn_lib/passes.py", line 163, in run
    cd.process_project(project)
  File " /cvs/cvs2svn-2.3.0/cvs2svn_lib/collect_data.py", line 1388, in process_project
    pdc.process_file(cvs_file)
  File " /cvs/cvs2svn-2.3.0/cvs2svn_lib/collect_data.py", line 1087, in process_file
    cvs_file_items = fdc.get_cvs_file_items()
  File " /cvs/cvs2svn-2.3.0/cvs2svn_lib/collect_data.py", line 974, in get_cvs_file_items
    self._process_ntdbrs()
  File " /cvs/cvs2svn-2.3.0/cvs2svn_lib/collect_data.py", line 940, in _process_ntdbrs
    vendor_cvs_branch_id = self.sdc.branches_data[self.default_branch].id
KeyError: '1.1.1'


** the trunk version at v2.4.0 r5342 **
[server:/]> /EDGE/cvs2svn-trunk/cvs2svn --use-cvs --username=cvsuser --write-symbol-info=/tmp/symbolInfo-DESTROY --encoding=latin1 --tmpdir=/tmp/cvs-cvsD --dumpfile=/tmp/cvs-cvsD.dmp /cvsroot/cvs_test/cvs-home/home/cvsDESTROY
----- pass 1 (CollectRevsPass) -----
Examining all CVS ',v' files...
/cvsroot/cvs_test/cvs-home/home/cvsDESTROY/dir010/dir109/dir1768/dir109/file6217,v
Traceback (most recent call last):
  File "/EDGE/cvs2svn-trunk/cvs2svn", line 70, in <module>
    svn_main(os.path.basename(sys.argv[0]), sys.argv[1:])
  File "/EDGE/cvs2svn-trunk/cvs2svn_lib/main.py", line 113, in svn_main
    main(progname, run_options, pass_manager)
  File " /EDGE/cvs2svn-trunk/cvs2svn_lib/main.py", line 96, in main
    pass_manager.run(run_options)
  File " /EDGE/cvs2svn-trunk/cvs2svn_lib/pass_manager.py", line 181, in run
    the_pass.run(run_options, stats_keeper)
  File " /EDGE/cvs2svn-trunk/cvs2svn_lib/passes.py", line 109, in run
    walk_repository(project, file_key_generator, cd.record_fatal_error),
  File " /EDGE/cvs2svn-trunk/cvs2svn_lib/collect_data.py", line 1153, in process_project
    cvs_file_items = pdc.process_file(cvs_path)
  File " /EDGE/cvs2svn-trunk/cvs2svn_lib/collect_data.py", line 1059, in process_file
    return fdc.get_cvs_file_items()
  File " /EDGE/cvs2svn-trunk/cvs2svn_lib/collect_data.py", line 898, in get_cvs_file_items
    self._process_ntdbrs()
  File " /EDGE/cvs2svn-trunk/cvs2svn_lib/collect_data.py", line 940, in _process_ntdbrs
    vendor_cvs_branch_id = self.sdc.branches_data[self.default_branch].id
KeyError: '1.1.1'


I have read about vendor branches generated with the import operation.  I'm not sure if that's what this is - or if so, how to handle it.

Thank you,
Krista Andersen
Consulting Engineer
Investment Technology Group, Inc.
400 Corporate Pointe, office 835
Culver City, CA 90230
Office: 213.270.7570

(I apologize for the lengthy disclaimer that will follow...)
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
This message is for the named person's use only. This communication is for
informational purposes only and has been obtained from sources believed to
be reliable, but it is not necessarily complete and its accuracy cannot be
guaranteed. It is not intended as an offer or solicitation for the purchase
or sale of any financial instrument or as an official confirmation of any
transaction. Moreover, this material should not be construed to contain any
recommendation regarding, or opinion concerning, any security. It may
contain confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient.  Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorized to state them to be the views of any such entity.

Securities products and services provided to Canadian investors are offered
by ITG Canada Corp. (member CIPF and IIROC - Investment Industry Regulatory
Organization of Canada), an affiliate of Investment
Technology Group, Inc.

Investment research products and services are produced and offered by
ITG Investment Research, Inc. and not ITG Inc. (a FINRA member firm and
SIPC member).

ITG Inc. and/or its affiliates reserves the right to monitor and archive
all electronic communications through its network.

ITG Inc. Member FINRA, SIPC
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

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

To unsubscribe from this discussion, e-mail: [[email protected]].
cvsDESTROY.tar (application/x-tar, 4.5 KB) - not displayed
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.