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

RE: A question of update time

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Fri, 22 Apr 2011 13:43:39 -0400

> On Fri, Apr 22, 2011 at 02:55, Slash <sharkq_at_126.com> wrote:
> > When I upload a file to the SVN server, then the "Date" column in
> > the Log Messages window should be the server time when I uploaded
> > that file.
> > In fact , I wanna the file's own Windows' updating time to be
> shown,
> > not the upload time.
>
> A few questions:
>
> 1) What timestamp should be shown when a single commit affects
> multiple files? Presumably, the files will have different local
> timestamps.
>
> 2) What should happen if a file (foo.cc) modified yesterday is
> committed after a file modified today (bar.cc)? Should the commit
> numbers automagically re-arrange themselves? Or should the log try
> to
> tell you that commit 93 (foo.cc) happened before 92 (bar.cc)?
>
> 3) Pursuant to the above, if you update to a certain date/time, and
> select a date after foo.cc was modified, but before bar.cc was
> modified, should you get revision 92 or 93?

This is one of the weaknesses of svn AKAIC. PVCS version manager would track both the datetime stamp of the file you committed and the datetime of the commit. When you did a get (similar to svn checkout) or a checkout (similar to an update) it would set the timedate stamp of the file to match what it was for the user that committed it.

And no, "use commit times" during update/checkout isn't the same thing. While there is not much I miss about PVCS this is one thing.

This is really a feature that I think should be "on the list" for subversion. Even if it doesn't happen until v2.0.

BOb

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2722797

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-04-22 19:43:45 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.