You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mike Mason <mg...@thoughtworks.net> on 2003/12/14 11:13:07 UTC
svn log -r {DATE:HEAD} always prints log message?
I'm trying to ask Subversion what changes have been made to a repository
since a particular date (the last time I asked it, which I'll remember).
It seems to always give me at least one log message back. Am I
misunderstanding what -r is supposed to do?
C:\isvn\local-ccnet>svn --version
svn, version 0.34.0 (r7859)
compiled Dec 4 2003, 08:08:28
Copyright (C) 2000-2003 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
The following repository access (RA) modules are available:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' schema
- handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
- handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' schema
C:\isvn\local-ccnet>svn log svn://localhost/
------------------------------------------------------------------------
r4 | mgm | 2003-12-12 17:15:50 +0000 (Fri, 12 Dec 2003) | 2 lines
Added some properties.
------------------------------------------------------------------------
r3 | mbr | 2003-12-12 17:09:44 +0000 (Fri, 12 Dec 2003) | 2 lines
Other Mike made some changes
------------------------------------------------------------------------
r2 | mgm | 2003-12-12 16:50:44 +0000 (Fri, 12 Dec 2003) | 2 lines
mgm made some changes
------------------------------------------------------------------------
r1 | (no author) | 2003-12-12 16:48:51 +0000 (Fri, 12 Dec 2003) | 1 line
added some stuff with anon user
------------------------------------------------------------------------
Now I want to find changes made since last time I asked, and I want
Subversion to give me zero output. I can't seem to persuade it though:
C:\isvn\local-ccnet>svn log -r "{2003-12-13 16:00:00}:HEAD" svn://localhost/
------------------------------------------------------------------------
r4 | mgm | 2003-12-12 17:15:50 +0000 (Fri, 12 Dec 2003) | 2 lines
Added some properties.
------------------------------------------------------------------------
C:\isvn\local-ccnet>svn log -r "{2003-12-13 16:00:00}:{2003-12-14
16:00:00}" svn://localhost/
------------------------------------------------------------------------
r4 | mgm | 2003-12-12 17:15:50 +0000 (Fri, 12 Dec 2003) | 2 lines
Added some properties.
------------------------------------------------------------------------
Am I doing something wrong here? Does svn log always show at least one
revision?
Cheers,
Mike.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: svn log -r {DATE:HEAD} always prints log message?
Posted by Erik Huelsmann <e....@gmx.net>.
[ snip ]
> Am I doing something wrong here? Does svn log always show at least one
> revision?
Nothing. svn log -r {DATE}:HEAD is at least equal to svn log -r HEAD:HEAD.
Which is of course a one-revision log.
HTH,
Erik.
--
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org