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

Re: Q: list all files changes between revisions of trunk?

From: Gary Feldman <svnul4228_at_marsdome.com>
Date: 2005-12-05 04:59:42 CET

Eric Hanchrow wrote:
> I'd do
>
> svn log -vqr123:456 | egrep '^ +M '
>

Personally, I'd change the egrep expression to "^ +[A-Z] ",
since usually people want new and deleted files when they
ask for which files have changed. You could say [ADM]
instead, but I find [A-Z] easier to remember quickly.

This also helps with an uncommon gotcha, when a file has been
deleted with svn rm, and then instead of restoring it, it's
been added with svn add. Of course, this situation should
be fixed, but for the purpose of this question, it's just
safer to include all changes, not just the ones that qualify
as "M".

Gary

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 5 05:02:04 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.