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

Re: How to obtain the list of changed directories in a revision

From: Michael Diers <mdiers_at_elego.de>
Date: Sat, 18 Jul 2009 23:52:19 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Sim Tong wrote:
> OK that's what I wanted to avoid. The pb is that I have some
> filenames without extension. So,I have to check each item whether it
> is a directory.

You probably want the --xml switch then.

Example:

mdiers_at_entropy ~/src/svn-1.6.x
$ svn diff --xml --summarize -c 36007 ^/branches/1.6.x
<?xml version="1.0"?>
<diff>
<paths>
<path
   props="none"
   kind="file"

item="modified">http://svn.collab.net/repos/svn/branches/1.6.x/STATUS</path>
<path
   props="none"
   kind="file"

item="modified">http://svn.collab.net/repos/svn/branches/1.6.x/subversion/libsvn_subr/path.c</path>
<path
   props="modified"
   kind="dir"
   item="none">http://svn.collab.net/repos/svn/branches/1.6.x</path>
</paths>
</diff>

- --
Michael Diers, Senior Consultant/Technical Director

elego Software Solutions GmbH, http://www.elego.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)

iEYEAREDAAYFAkpiRBIACgkQcEKlWnqVgz2JuQCgwS/23Ib4gFyuFARwXezWmoSa
TmoAnjgwz8LTWFuSEUBmncYgm++7OGlt
=KEsE
-----END PGP SIGNATURE-----

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-18 23:53:18 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.