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

RE: Apache Subversion 1.7.7 - svn log issues

From: Ramachandran Raghavendran <Ramachandran.Raghavendran_at_flsmidth.com>
Date: Mon, 4 Feb 2013 09:15:42 +0530

My very first commit consisted of 10 folders and 8 files.
After this very commit if I run svn log -v --xml with the URL for a
single file, the output lists data for all the rest of items under that
commit.
I was expecting the data from just the file for which I'm running the
log command.
My understanding of what is happening is this.... even if we run svn
log for a single file, if the (subversion) selected revision involves
other files and folders, the log command gives the xml data of all
involved items. So svn log seems to run at revision-file level rather
than at file-revision level. Assuming that my understanding is correct ,
I'd have wished the log to give the output of just what I asked for :-))

Best regards,

Ramachandran Raghavendran
IT Project Consultant

Direct +91 44 4748 3961 *
Ramachandran.Raghavendran_at_flsmidth.com

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2012c_at_ryandesign.com]
Sent: Saturday, February 02, 2013 12:18 AM
To: Ramachandran Raghavendran
Cc: users_at_subversion.apache.org
Subject: Re: Apache Subversion 1.7.7 - svn log issues

On Jan 31, 2013, at 22:40, Ramachandran Raghavendran wrote:

> I performed the very first commit into a repository and I'm running
the svn log command at the file level (svn log -v --xml --stop-on-copy
@URL PATH, where PATH represents a file).
> However this syntax lists all the changes to the URL.
> Have anybody encountered this behaviour . is this a bug?

When you say "@URL", you mean you typed the URL of the repository,
right? You didn't actually type "@URL", or an "@" and then a URL?

If you want the log of a specific directory or file in the repository,
then just list the complete URL of the directory or file inside the
repository.

For example, the URL of the Subversion repository used by all Apache
Software Foundation projects is:

http://svn.apache.org/repos/asf

To see the log of, say, the configure script of the Apache HTTP Server
project, you would do:

svn log http://svn.apache.org/repos/asf/httpd/httpd/trunk/configure.in
Received on 2013-02-04 04:47:05 CET

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.