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

Re: svnlook changed doesn't include all of the files that are part of the commit

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 23 Nov 2015 17:54:46 +0000

"Hartleroad, James [IT]" <James.Hartleroad_at_sprint.com> writes:

> Just trying to get a better understanding on why svnlook shows the
> files when reviewing one commit and not the other, when both commits
> "changed" what was in the repository, at least to the point that the
> files are copied to the new location.

You might want to use --copy-into to see which changes are copies. You
can use 'svnlook tree' to get the copied tree. If a copy has additional
modification beyond a simple copy then 'svnlook changed' will show them.

Adds and copies are different and there is no single answer to the
question of what diff should show for copies. The 'svnlook changed'
answer is often what is wanted, for example when making a tag:

  $ svnlook changed --copy-info -r1703885 apache-repo-fsfs
  A + subversion/tags/1.9.2/
      (from subversion/branches/1.9.x/:r1703836)
  U subversion/tags/1.9.2/subversion/include/svn_version.h

For 'svn diff' there are options: --no-diff-added, --no-diff-deleted,
--show-copies-as-adds, etc. precisely because different things are
wanted in different cases. 'svnlook changed' doesn't have equivalent
options and that is partly because there is less demand for them.

-- 
Philip Martin
WANdisco
Received on 2015-11-23 18:55:02 CET

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.