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

RE: getting the log from svn client (without access to svnlook log)

From: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Mon, 4 May 2009 17:35:39 +0200

> -----Original Message-----
> From: Sim Tong [mailto:sim_tong7_at_yahoo.fr]
> Sent: maandag 4 mei 2009 17:22
> To: users_at_subversion.tigris.org
> Subject: getting the log from svn client (without access to svnlook log)
>
> Hi
>
> I'd like to get access to the log (or comments) information related to a
> given revision.
> I usually get them using the command :
>
> $ svnlook log <REPOSITORY> -r <revision number>
>
> This is handy if I have access to the repository.
>
> How can I do that without access to the repository ?
>
> I noticed that I can see the comments with the command
> $svn log <SVN URL> -v -r <revision number>
>
> However, it also lists the changeset. As my comments can also be on
several
> lines, I can't just make the assomption that the last line corresponds to
the
> comments.
>
> Does anyone know any trick ?

svn log --xml -r <rev> gives you the log and files in Xml format. (Stable
over versions and guaranteed parsable)

svn log -q -v -r <rev> gives you only the changed paths
And
svn log -r <rev> gives you only the summary

        Bert

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2057530

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-04 17:37:39 CEST

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.