r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Syncing] Syncing technologies

BrianH
4-Jan-2006
[42x3]
In theory, timestamp syncing can be done by asking the server for 
its current time or time zone, comparing against your own, and then 
adjusting your timestamps for comparison by the difference. I'm not 
sure how well this would handle latency issues (we should look at 
time protocols), but it would handle the client's computer clock 
being wrong. This would have to be done at the beginning of each 
syncing session, incase the client moves time zones or otherwise 
adjusts their clock between sessions.
Better yet would be for both sides to adjust to UTC for comparison 
purposes.
By "for comparison purposes", I mean don't change the file date, 
just subtract the diff between you and UTC to get the adjusted file 
date in memory and then compare against the adjusted file date from 
the server.
Volker
4-Jan-2006
[45]
one problem is summertime and windows.
Graham
4-Jan-2006
[46]
What is the problem with summertime ?  When switching to daylight 
saving, the time zone changes.  Eg ours goes from +12 to +13.
Pekr
4-Jan-2006
[47x3]
the problems is reported in rambo ticket, will find it for you - 
it can report two zones +1 or + 2 here, and it is a problem - it 
depends if you skip the time the time is switched on, or if you go 
thru it ...
http://www.rebol.net/cgi-bin/rambo.r?id=3822&
it may be bug in Windows, but it needs to be sorted out. With Ladislav 
we even wrapped some Win32 funcs I found in rebol.exe, but watched 
nothing obvious ...
Volker
4-Jan-2006
[50]
Basically the filedates reported by windows are not adjusted to summertime. 
so after summertime-change the older files are one hour off. sometimes. 
depends on things like partition-types and dont know what else.
BrianH
4-Jan-2006
[51x2]
They are with NTFS (which may be UTC internally), but are not adjusted 
with Fat (12/16/32) which stores files in local time.
FAT also stores file dates in 2-second increments, so file times 
can adjust up to two seconds when copied between FAT and NTFS. File 
times in ZIP files have the same restriction because of ZIP's DOS 
origins.
Thør
2-Apr-2006
[53]
.
Maxim
21-Sep-2009
[54]
using tortoise SVN, how can I checkout just a single file?  here 
it complains about only wanting to checkout directories.... which 
is a bit dumb IMHO.


note, this checkout occurs in a new checkout area, the directories 
on the repository aren't anywhere else.  I just want to pick out 
one file from a repository and use just that elsewhere.
Tomc
22-Sep-2009
[55:last]
try svn cat   and copy /pipe the result where you want