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

Re: Getting the diffs as whole files

From: Bob Proulx <bob_at_proulx.com>
Date: 2006-11-14 03:12:28 CET

Olivier Sannier wrote:
> No, I mean the complete content of files that have changed from the
> branch to the trunk (or a revision to another).
> Basically, the content of the files listed by summarize.

After you get a listing of the files that have changed use that to
'cat' the file contents.

  svn cat somefile

And the one-liner to do it all at one time.

  for f in $(svn st | awk '$1=="M"{print$NF}');do svn cat $f ; done

Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 14 03:12:22 2006

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.