bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch for timezone handling in cvs log


From: Derek Robert Price
Subject: Re: Patch for timezone handling in cvs log
Date: Thu, 29 Apr 2004 08:51:14 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Larry Jones wrote:

>Derek Robert Price writes:
>
>>If you want to patch something, I think the correct way to do this is
>>using the client's MT request to send tagged dates and then let the
>>client recalculate the date before printing it if it likes.
>
>
>Yes, that's the general concensus.  The only tricky part is that when
>you're *not* in client/server mode, there are no requests or responses
>-- the server is the client -- so you have to do it in the "server" in
>local mode but in the client in client/server mode.


That is already handled on the local/server end by routing output
through cvs_output() & cvs_output_tagged().  Those functions just
print if the server is not active.

The client end woud then just need to handle (parse, reformat for the
current locale, and print) the new tag in handle_mt().

Derek

- --
                *8^)

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAkPpBLD1OTBfyMaQRAm3mAKDViuLg1ImzCELB4sbFe0Wgkgrt5gCeOQ3p
n0wZIgXmrrggOf3G5cRQNac=
=xzzh
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]