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

svnlook diff output for moved + modified files

From: Matthew S. Moore <mmoore_at_asf.alaska.edu>
Date: 2005-03-05 00:25:10 CET

   I have been playing around with the commit-email.pl script and I noticed that
if I do something like:

svn mv file4 file1

   Then I get an email (with output from svnlook diff) that says:

Copied: glue/trunk/src/file1 (from rev 40, glue/trunk/src/file4)

   However, if I move a file and then edit say just the last line prior to
committing it, I get:

Copied: glue/trunk/src/file4 (from rev 39, glue/trunk/src/file1)
===================================================================
--- glue/trunk/src/file1 2005-03-04 05:39:36 UTC (rev 39)
+++ glue/trunk/src/file4 2005-03-04 23:05:00 UTC (rev 40)
@@ -0,0 +1,5 @@
+file1@r33
+file1@r34
+file1@r35
+file1@r36
+file1@@r37

   But this diff output looks like I changed (i.e. added) the whole file. I
realize that the diff is acting only on the add portion of the transaction, but
it would be nice if it could actually perform the diff against the file that it
was copied from since it obviously knows what it is.

   I realize this is a rather minor issue and I could certainly perform these as
separate transaction, but it would be difficult to enforce our developers to
separate them.

   Thanks,

Matthew

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Matthew S Moore                          Alaska Satellite Facility
Configuration Manager                    Geophysical Institute
& Development Engineer                   University of Alaska Fairbanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 5 00:27:42 2005

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.