[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

cvs2svn apr_time_ansi_put broken.

From: Rob Kramer <robk_at_starhub.net.sg>
Date: 2003-02-14 03:32:48 CET

Hi,

Couldn't find this one in the archives. While running cvs2scn.py:

----- pass 4 -----
committing: Tue Dec 30 11:15:01 1997, over 0 seconds
    changing 1.1 : /trunk/CVSROOT/rcsinfo
    making dir: /trunk
    making dir: /trunk/CVSROOT
sh: line 1: co: command not found
Traceback (most recent call last):
  File "./cvs2svn.py", line 696, in ?
    main()
  File "./cvs2svn.py", line 693, in main
    util.run_app(convert, ctx, start_pass=start_pass)
  File "/usr/local/lib/python2.2/site-packages/svn/util.py", line 38, in
run_app
    return apply(func, (pool,) + args, kw)
  File "./cvs2svn.py", line 626, in convert
    _passes[i](ctx)
  File "./cvs2svn.py", line 583, in pass4
    c.commit(t_fs, ctx)
  File "./cvs2svn.py", line 433, in commit
    author, log, date = self.get_metadata(c_pool)
  File "./cvs2svn.py", line 304, in get_metadata
    a_t = util.apr_time_ansi_put(self.t_max)[1]
TypeError: apr_time_ansi_put() takes exactly 2 arguments (1 given)

I tried a few quick fixes, but I don't know Python at all and it didn't work.
(It seems return value moved to argument #1 in APR)

Using Apache 2.0.44, Subversion 0.17.1, swig 1.3.17.

Cheers!

   Rob

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 14 03:33:25 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.