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

Bug in Ruby bindings?

From: Nathan Fiedler <nathanfiedler_at_gmail.com>
Date: 2007-08-03 20:15:08 CEST

I've run into what appears to be a bug in the Ruby bindings. I
searched the issue tracker and found nothing with the word "ruby" in
it (for that matter, there's no ruby subcomponent, but there are for
the other language bindings). Anyway, below is what I'm trying to do,
and the necessary work-around:

  ctx = Svn::Client::Context.new
  ctx.info(path, rev) do |ipath, info|
    time = Time.from_apr_time(info.last_changed_date)
    # ...

The info.last_changed_date value looks like "1186164022114623", which
seems to be the seconds and the microseconds combined into a single
Fixnum value. Shouldn't the Ruby bindings have performed the
conversion to Ruby Time for me? It does in other places (log() for


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 3 20:14:18 2007

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

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