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

2015-11-23 Thread Bert Huijben
Diff reports copies of directories as adds of the individual files, while
svnlook changed reports a copy on the root and only interesting changes
below that. Just like how 'svn status' would have reported it before the
commit.

 

Bert

 

From: Hartleroad, James [IT] [mailto:james.hartler...@sprint.com] 
Sent: maandag 23 november 2015 15:30
To: users@subversion.apache.org
Subject: svnlook changed doesn't include all of the files that are part of
the commit

 

Why doesn't svnlook changed show all of the files that are part of the
commit?

 

A developer created a new directory with two files in a branch and the
branch was merged into another branch.  When running svnlook it shows the
directory was added, but not the included files.  If I run a svn diff with
the summarize option it does list the files, so shouldn't svnlook include
them too?

 

svnlook changed -r5596 /data/ans/repos/r4BN

_U  4BN/cmblds/1551-MID16.1.2.0/

A
4BN/cmblds/1551-MID16.1.2.0/4BN_Envs/dev/ReleaseChanges/MID16.1.2_Release_Ch
anges.txt

_U  4BN/cmblds/1551-MID16.1.2.0/4BN_FAST_source/DB_Scripts/

A   4BN/cmblds/1551-MID16.1.2.0/4BN_FAST_source/DB_Scripts/MID16.1.2/

_U  4BN/cmblds/1551-MID16.1.2.0/4BN_FAST_source/LDAP_Scripts/

A   4BN/cmblds/1551-MID16.1.2.0/4BN_FAST_source/LDAP_Scripts/MID16.1.2/

 

 

svn diff -r5595:5596 --summarize file:///data/ans/repos/r4BN
 

A
file:///data/ans/repos/r4BN/4BN/cmblds/1551-MID16.1.2.0/4BN_Envs/dev/Release
Changes/MID16.1.2_Release_Changes.txt
 

A
file:///data/ans/repos/r4BN/4BN/cmblds/1551-MID16.1.2.0/4BN_FAST_source/LDAP
_Scripts/MID16.1.2/MID16.1.2_PJ019964_Epic363_Add_New_Programs.ldif
 

A
file:///data/ans/repos/r4BN/4BN/cmblds/1551-MID16.1.2.0/4BN_FAST_source/LDAP
_Scripts/MID16.1.2
 

M
file:///data/ans/repos/r4BN/4BN/cmblds/1551-MID16.1.2.0/4BN_FAST_source/LDAP
_Scripts
 

A
file:///data/ans/repos/r4BN/4BN/cmblds/1551-MID16.1.2.0/4BN_FAST_source/DB_S
cripts/MID16.1.2/MID16.1.2_PJ019964_Epic363_AUTO_ACTIVITY_WRKFLW_TASK_DML_Ch
anges.sql
 

A
file:///data/ans/repos/r4BN/4BN/cmblds/1551-MID16.1.2.0/4BN_FAST_source/DB_S
cripts/MID16.1.2/MID16.1.2_PJ019964_Epic363_ADD_New_Programs_DML_Changes.sql
 

A
file:///data/ans/repos/r4BN/4BN/cmblds/1551-MID16.1.2.0/4BN_FAST_source/DB_S
cripts/MID16.1.2
 

M
file:///data/ans/repos/r4BN/4BN/cmblds/1551-MID16.1.2.0/4BN_FAST_source/DB_S
cripts
 

M  file:///data/ans/repos/r4BN/4BN/cmblds/1551-MID16.1.2.0
 

 

 

 

  _  


This e-mail may contain Sprint proprietary information intended for the sole
use of the recipient(s). Any use by others is prohibited. If you are not the
intended recipient, please contact the sender and delete all copies of the
message.



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

2015-11-23 Thread Hartleroad, James [IT]
Version 1.8.10

$ svn log -r 5596 -v file:///data/ans/repos/r4BN

r5596 | cmadmin | 2015-11-20 09:55:22 -0600 (Fri, 20 Nov 2015) | 15 lines
Changed paths:
   M /4BN/cmblds/1551-MID16.1.2.0
   A 
/4BN/cmblds/1551-MID16.1.2.0/4BN_Envs/dev/ReleaseChanges/MID16.1.2_Release_Changes.txt
 (from 
/4BN/releases/1551-MID16.1.2.0/4BN_Envs/dev/ReleaseChanges/MID16.1.2_Release_Changes.txt:5591)
   M /4BN/cmblds/1551-MID16.1.2.0/4BN_FAST_source/DB_Scripts
   A /4BN/cmblds/1551-MID16.1.2.0/4BN_FAST_source/DB_Scripts/MID16.1.2 (from 
/4BN/releases/1551-MID16.1.2.0/4BN_FAST_source/DB_Scripts/MID16.1.2:5589)
   M /4BN/cmblds/1551-MID16.1.2.0/4BN_FAST_source/LDAP_Scripts
   A /4BN/cmblds/1551-MID16.1.2.0/4BN_FAST_source/LDAP_Scripts/MID16.1.2 (from 
/4BN/releases/1551-MID16.1.2.0/4BN_FAST_source/LDAP_Scripts/MID16.1.2:5590)

When I look at the svnbook.red-bean.com for 1.8, 
http://svnbook.red-bean.com/en/1.8/svn.ref.svnlook.c.changed.html, I got the 
impression that new files added in a new directory would be shown.

If I run svnlook on the initial change, not the merge than the files are shown.
$ svnlook changed -r5589 /data/ans/repos/r4BN
A   4BN/releases/1551-MID16.1.2.0/4BN_FAST_source/DB_Scripts/MID16.1.2/
A   
4BN/releases/1551-MID16.1.2.0/4BN_FAST_source/DB_Scripts/MID16.1.2/MID16.1.2_PJ019964_Epic363_ADD_New_Programs_DML_Changes.sql
A   
4BN/releases/1551-MID16.1.2.0/4BN_FAST_source/DB_Scripts/MID16.1.2/MID16.1.2_PJ019964_Epic363_AUTO_ACTIVITY_WRKFLW_TASK_DML_Changes.sql

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.



-Original Message-
From: Ivan Zhakov [mailto:i...@visualsvn.com]
Sent: Monday, November 23, 2015 8:51 AM
To: Hartleroad, James [IT] 
Cc: users@subversion.apache.org
Subject: Re: svnlook changed doesn't include all of the files that are part of 
the commit

On 23 November 2015 at 17:29, Hartleroad, James [IT] 
 wrote:
> Why doesn’t svnlook changed show all of the files that are part of the
> commit?
>
> A developer created a new directory with two files in a branch and the
> branch was merged into another branch.  When running svnlook it shows
> the directory was added, but not the included files.  If I run a svn
> diff with the summarize option it does list the files, so shouldn’t
> svnlook include them too?
>
>
Thanks for problem report.

Could you please specify what version of Subversion do you use? Output of 'svn 
log -r 5596 -v file:///data/ans/repos/r4BN' (without log
message) will be also useful.


--
Ivan Zhakov



This e-mail may contain Sprint proprietary information intended for the sole 
use of the recipient(s). Any use by others is prohibited. If you are not the 
intended recipient, please contact the sender and delete all copies of the 
message.


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

2015-11-23 Thread Philip Martin
"Hartleroad, James [IT]"  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