Re: TypeError: int argument required

Craig Kelley <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
On Tue, Nov 30, 2010 at 11:51 PM, Michael Haggerty <[email protected]> wrote:

> I suggest that you try the trunk version of cvs2git.  It has had a lot
> of improvements since 2.3.0 and it is only due to my lack of time that
> the trunk improvements haven't been released.  Let us know if the
> problem goes away with the trunk version.

With trunk it has a different line number, but the same error:

----- pass 16 (OutputPass) -----
Traceback (most recent call last):
  File "/root/cvs2svn/trunk/cvs2git", line 70, in ?
    git_main(os.path.basename(sys.argv[0]), sys.argv[1:])
  File "/root/cvs2svn/trunk/cvs2svn_lib/main.py", line 119, in git_main
    main(progname, run_options, pass_manager)
  File "/root/cvs2svn/trunk/cvs2svn_lib/main.py", line 96, in main
    pass_manager.run(run_options)
  File "/root/cvs2svn/trunk/cvs2svn_lib/pass_manager.py", line 181, in run
    the_pass.run(run_options, stats_keeper)
  File "/root/cvs2svn/trunk/cvs2svn_lib/passes.py", line 1754, in run
    svn_commit.output(Ctx().output_option)
  File "/root/cvs2svn/trunk/cvs2svn_lib/svn_commit.py", line 238, in output
    output_option.process_primary_commit(self)
  File "/root/cvs2svn/trunk/cvs2svn_lib/git_output_option.py", line
296, in process_primary_commit
    self.revision_writer.process_revision(cvs_rev, post_commit=False)
  File "/root/cvs2svn/trunk/cvs2svn_lib/dvcs_common.py", line 362, in
process_revision
    self.add_file(cvs_rev, post_commit)
  File "/root/cvs2svn/trunk/cvs2svn_lib/git_output_option.py", line
63, in add_file
    self._modify_file(cvs_rev, post_commit)
  File "/root/cvs2svn/trunk/cvs2svn_lib/git_output_option.py", line
89, in _modify_file
    self.f.write(

Which is this similar line:

    self.f.write(
        'M %s :%d %s\n'
        % (mode, cvs_item.revision_reader_token,
           cvs_item.cvs_file.cvs_path,)
        )

mode is set to 100755
revision_reader_token is None
cvs_path is `sales/login.jsp`

Running `cvs2svn` works just fine.

-- 
http://inconnu.islug.org/~ink finger  [email protected] for PGP block

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

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.