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

Re: Client PC time

From: Paul Koning <pkoning_at_equallogic.com>
Date: 2005-12-16 16:07:12 CET

>>>>> "Chak" == Chak <r_chakra@yahoo.com> writes:

 Chak> Suppose a SVN client's PC has the time set to 17:34, and the
 Chak> time on the SVN server PC is 17:29 , when the client commits a
 Chak> file to the server. Another client whose time is in synch with
 Chak> the server (17:29) tries to soon update his WC - will he miss
 Chak> the file checked in by the first client, since the first user's
 Chak> timestamp is out of sync ? I had a case where a file committed
 Chak> by client 1 (PC time - 17:34) was not getting updated to client
 Chak> 2 (PC time - 17:29). I am just guessing this time difference to
 Chak> be the problem. Is it so ?

No. Subversion uses revision numbers, not time stamps, to tell
whether the repository has changed.

When you do a commit, a new revision is generated. When you do an
update, the client checks if the highest revision on the server is
higher than the revisions it has in the working directory. If yes, it
brings them over.

The time shouldn't matter at all.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 16 16:10:23 2005

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