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

RE: svn log questions

From: Dale Worley <dworley_at_pingtel.com>
Date: 2004-12-10 19:25:37 CET

Someone else gave the pointer to the answer, but I'll flesh it out, because
I was mystified too.

The critical question is "What does -r{2004-12-09} mean?

The answer is "The last revision (in the file's database) before the
specified date/time." This may not be quite what you want, but it satisfies
two iron rules: 1. A -r must specify a revision in the database, and 2. The
meaning of a -r, that is, the revision that it specifies, is idependent of
the context in which it appears.

In your case, there were no revisions after 2004-12-03, so *both*
"-r{2004-12-09 15:00:05}" and "-r{2004-12-09 16:00:35}" mean that same
revision.

What you really want, "All revisions between two dates" cannot be asked for,
because there is no way to do it under the two iron rules.

Dale

-----Original Message-----
From: Davey, Sean [mailto:SDavey@BroadViewNet.com]
Sent: Friday, December 10, 2004 11:50 AM
To: users@subversion.tigris.org
Subject: RE: svn log questions

im having an issue with svn log that maybe someone can set me straight on.

my svn log command is the following:

C:\>"svn" log --non-interactive -v --username "test" --password "test" -r
"{2004-12-09 15:00:05}:{2004-12-09 16:00:35}"
http://subversionurl/svn/oss/nmsRelease/trunk

my results of the above command are the following:

------------------------------------------------------------------------
r16 | test | 2004-12-03 17:42:57 -0500 (Fri, 03 Dec 2004) | 1 line
Changed paths:
   M /nmsRelease/trunk/nms-prov/src/ncss/temp/XMLHelper.java

update sample response xml
------------------------------------------------------------------------

My request is to see revisions between 12-9-2004 at 3:00 pm and 12-9-2004 at
4:00 pm (show me changes to the repository that took place in the last
hour). The results im getting back is my last update back on December 3rd.
Should i be doing something differently, my expectation would be that i
wouldnt get any log messages, since there have been no updates to any files
in the repository since 12/3. Is this a wrong assumption or is there
another way to get my desired results?

thank you for any assistance.

-----Original Message-----
From: François Beausoleil [mailto:fbeausoleil@ftml.net]
Sent: Friday, December 10, 2004 11:05 AM
To: trlists@clayst.com
Cc: users@subversion.tigris.org
Subject: Re: svn log questions

On 10/12/2004 10:31, trlists@clayst.com wrote:
> On 10 Dec 2004 Ben Collins-Sussman wrote:
>> svn commit foo.c
>> svn log
>>
>>You'd think that 'svn log' would show you the commit to foo.c that you
>>just made, right? After all, that's what CVS does. But it doesn't...
>>not without running 'svn up' first. It's been the subject of much
>>debate, but it's another example of 'consistency' winning out over 'do
>>what I mean'.
>
> I'll give you that last point :-).
>
> Anyway, the item above bit me a couple of times. Why is this? What is
> svn up doing that makes the log show the commit?

See "The Limitations of Mixed Revisions" in the Subversion book:
http://svnbook.red-bean.com/en/1.0/ch02s03.html#svn-ch-2-sect-3.4

Hope that helps,
François

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Fri Dec 10 19:37:40 2004

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

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