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

Re: How to list all files in a repository

From: Tom Mornini <tmornini_at_infomania.com>
Date: 2005-01-10 10:05:05 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Try running:

svn ls -r 1 -R -v REPO_URL

once per revision and diffing (perhaps via parse and compare) the
output.

If you have the repo local, then svnlook may be a wonderful companion
as well.

When you find additions, you'll likely need to run svn log to trace
copies, moves and renames.

On Jan 10, 2005, at 12:34 AM, thomas mauch wrote:

> Hello
>  
> I would like to list all files which existed once in a directory of a
> repository, to see which files have been added and removed during the
> development. Any way to achieve this? I tried svn list -r 1:HEAD, but
> got the error message "svn: Revision range is not allowed".
>  
> Ideally output would look similar like this:
>  
> Directory 'foo':
> File 'a': added revision 1
> File 'b': added revision 2
> File 'c': added revsion 2, removed revision 3
>  
> Another interesting output format would as well show the commit log
> messages for each entry, e.g.
>  
> Directory 'foo':
> File 'a': added revision 1
> - Rev 1: Initial commit
> - Rev 3: Bug fix
> File 'b': added revision 2
> - Rev 2: Added file
> File 'c': added revsion 2, removed revision 3
> - Rev 2: Added file
> - Rev 3: Removed erroneously added file
>  
> Or is there a tool doing things like this. Any ideas?
>  
> Many thanks in advance,
> Thomas
>
> ____________________________________________________________
> This message may contain legally privileged or confidential
> information and is therefore addressed to the named persons only.
> The recipient should inform the sender and delete this message,
> if he/she is not named as addressee.
> The sender disclaims any and all liability for the integrity
> and punctuality of this message.
> The sender has activated an automatic virus scanning by
> Messagelabs, but does not guarantee the virus free
> transmission of this message.
>
- --
- -- Tom Mornini

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB4kVBzaKkuvKwKvcRAkHtAKC06dbjXG5jK9hVuOGyswE1zMlcrgCffLxd
2OQ0gE7KXdQ/XcSFgL0nSQk=
=DWwn
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 10 10:08:42 2005

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.