You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mike Craig <Mi...@freeclear.com> on 2006/05/04 18:50:57 UTC
Diff usage
I'm trying to figure out a way to get a list of files that have changed
between revision numbers, but I don't want the actual line changes
returned, only the files.
For instance, I'd like to see output similar to:
--- sql/schema_v1.0/ v1.0_SQLData.sql (revision 0)
+++ sql/schema_v1.0/ v1.0_SQLData.sql (revision 1440)
Or better yet:
New sql/schema_v1.0/v1.0_SQLData.sql (revision 1440)
Modified sql/schema_v1.0/v1.1_SQLData.sql (revision 1440)
I don't care so much what changes in the file, just the fact that there
are changes.
Thanks,
Mike
Re: Diff usage
Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 5/4/06, Mike Craig <Mi...@freeclear.com> wrote:
>
> I'm trying to figure out a way to get a list of files that have changed
> between revision numbers, but I don't want the actual line changes returned,
> only the files.
Subversion 1.4 will have a 'svn diff --summarize' feature that will
just list the files that changed.
-garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Diff usage
Posted by Jacob Atzen <ja...@aub.dk>.
On Thu, May 04, 2006 at 11:50:57AM -0700, Mike Craig wrote:
> I'm trying to figure out a way to get a list of files that have changed
> between revision numbers, but I don't want the actual line changes
> returned, only the files.
Perhaps you could use something like:
svn log -v -r X:Y | grep " [A|M]" | cut -d' ' -f 5 | sort |
uniq
This will only tell the name of files that were either added or
modified between revision X and Y.
--
Cheers,
- Jacob Atzen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org