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

Re: RFC: timestamps/sleep

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-02-13 23:27:41 CET

Garrett Rooney wrote:

> mark benedetto king wrote:
>
>> On Thu, Feb 13, 2003 at 07:31:29AM +0100, Branko ?ibej wrote:
>>
>>
>>> Yup. *Not* the startup time, please, as that assumes the client is a
>>> command-line app that gets run once for each command. Instead,
>>> libsvn_client could note the time each operation started; that would be
>>> friendly to GUI clients, svnshell.py and (the not-yet-implemented) "svn
>>> --shell".
>>>
>>>
>>
>>
>> How about adding a "now" field to the client context?
>> libsvn_client/libsvn_wc
>> wouldn't know anything about sleeping or retro-dating, they just know
>> "now",
>> and they make sure that files get created with dates of "now".
>>
>> It is up to the client to sleep if it wants to.
>>
>
> i'm not sure i like the idea of pushing this onto the client
> application. it seems like the kind of thing people are likely to
> screw up, and if we can do it once in the libraries and get it right
> then we're probably better off.

I agree. "now" probably should be in a baton somewhere, but the library
should be settng it, not the client app. Same for sleeping -- the (wc)
library should take care of that.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 13 23:28:29 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.