Nathan Fiedler wrote:
> 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)
> # ...
> end
>
> 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
> instance).
From a cursory glance that looks a fair request,
I would put a patch together and send it off to the dev list for review.
Regards,
Blair
---------------------------------------------------------------------
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:58:45 2007