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

[svnpatch/augmented-diff] missing copy-path information

From: Charles Acknin <charlesacknin_at_gmail.com>
Date: 2007-07-18 01:01:54 CEST

(This is redirected from #svn-dev.)

I noticed 'copy-path' optional field is missing to add-dir and
add-file commands (ra_svn) when issuing repo-repo diff or repo-wc
diff. Network traces the server (svnserver here) send [1] just don't
bring copy-path information, it's not about the client-side logic.
For instance, let's say foo was copied to bar in r123, 'svn diff
-r122:123' will never receive an add-file *with copy-path* from the
server. (The whole file is transmitted instead).
The problem is svnpatch needs to bring this copy-path data for copy
and move operations, so that when "svn patch'ing", we know which file
to copy from.

I can only see one unfortunate way to solve this -- that is, dropping
some lines into the server libs to force the copy-path field to show
up (and cancel the whole file transmission too). Does anybody think
of a workaround?

[1] ( add-file ( 9:newfilecp 2:d0 2:c1 ( ) ) )

Cheers,
Charles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 18 01:01:04 2007

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.