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

List changes in a working copy in format of "svn log -v"?

From: Michael Pruemm <mpruemm_at_eso.org>
Date: Thu, 26 Aug 2010 10:43:35 +0200

If I need to create a working copy with specific features and bug fixes,
I may backdate certain directories, or even use specific branches for
directories:

   svn update -r 1234 dir1
   svn switch http://host/branches/xxx@1122 dir2

If I then create a tag from my working copy

   svn copy . http://host/tags/mytag

and look at the log of my new tag

   svn log -v -q -l 1 http://host/tags/mytag

I will see some concise output of the structure of the tag like this:

r1291 | mpruemm | 2010-08-25 16:09:36 +0000 (Wed, 25 Aug 2010)
Changed paths:
    A /tags/mytag (from /trunk/somewhere:1284)
    R /tags/mytag/dir1 (from /trunk/somewhere/dir1:1234)
    R /tags/mytag/dir2 (from /branches/xxx:1122)

Now my question: Is it possible to get the same concise output *from the
working copy* without creating "mytag" first?

Obviously, all the information must be present already in the working
copy. So it should be possible to somehow extract it. How would I write
a script doing this?

- Michael
Received on 2010-08-26 10:44:19 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.