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

Presenting net code changes for a branch

From: Gabriela Gibson <gabriela.gibson_at_gmail.com>
Date: Sun, 13 Oct 2013 11:50:26 +0100

Hi,

my branch has grown into a veritable forest, and so, I thought that
it would be convenient to present the net code changes in a file called
'entire-branch-code' (attached).

This is generated like so:

1) Merge trunk to branch

2) run this bash command:

svn log --stop-on-copy | grep '^*\ subversion' |\
  awk '{gsub(/^ +| +$/,"")} {print $0}' | cut -d '*' -f 2 |\
  sort --unique | while read line; do echo $line | if [ -a $line ];\
  then echo ""; echo \
"================================================================================";\
  echo "";\
  diff -p --context=0 -b -B -w "$HOME/trunk/$line" "$PWD/$line"; fi;\
  done > entire-branch-code

Is this useful? Can this be improved?

thanks,

Gabriela

Received on 2013-10-13 12:50:16 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.