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 Laster <mi...@marketocracy.com> on 2005/01/13 19:43:55 UTC
Comparing two branches of the repository
How would generate a report showing what changed (by commit logs, not
actual diffs) between two branches?
I figured out how to do it if I want the actual content diff:
svn diff file:///tmp/importrepository/tags/DEPLOY_20041119
file:///tmp/importrepository/tags/DEPLOY_20041131
This will show me (in excruciating detail) what changed between
DEPLOY_20041119 and DEPLOY_20041131.
What I can't figure out is how to just get a higher level overview just
showing which files changed.
What I'm looking for is the equivalent of this CVS command:
cvs -q rdiff -r OLD_TAG -r NEW_TAG -s .
Which gives output like:
File Tools/Thing/file_a.c changed from revision 1.4 to 1.5
File Tools/Thing/file_b.c changed from revision 1.20 to 1.22
File Tools/Thing/file_c.c changed from revision 1.8 to 1.9
File Tools/Thing/file_d.c changed from revision 1.1 to 1.2
Re: Comparing two branches of the repository
Posted by Raman Gupta <ro...@fastmail.fm>.
Mike Laster wrote:
> [snip]
>
> What I'm looking for is the equivalent of this CVS command:
>
> cvs -q rdiff -r OLD_TAG -r NEW_TAG -s .
I asked almost this exact question on the mailing list a few months back
and someone gave me the solution I use now... pipe the output of svn
diff to lsdiff. lsdiff is part of patchutils.
Cheers,
Raman
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Comparing two branches of the repository
Posted by Dale Worley <dw...@pingtel.com>.
-----Original Message-----
From: Mike Laster [mailto:mike@marketocracy.com]
How would generate a report showing what changed (by commit logs, not
actual diffs) between two branches?
--------------------------
This isn't terribly efficient, but gives cleaner output:
svn diff --diff-cmd=/bin/true
file:///tmp/importrepository/tags/DEPLOY_20041119
file:///tmp/importrepository/tags/DEPLOY_20041131
Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org