Hi all,
After further analysis, I think that this may be the 'well-known' problem of
'svn diff' not being able to properly report on directory deletes, rather
than anything specifically to do with directory moves or renames.
(for example: 'svn diff -r15333:15334 http://svn.collab.net/repos/svn'
returns nothing, rather than the expected diff produced by the deletion of
the non-empty /trunk/doc/translations/norwegian_nb directory).
I say 'well-known' because, although there appears to be no issue logged or
XFail test, if you look in subversion/tests/clients/cmdline/diff_tests.py,
there's a commented out test, and comment that reads "### TODO: directory
delete doesn't work yet", so presumably somebody knows about it.
While I'm still not entirely sure what works and what doesn't (I seemed to
get some contradictory results while I was testing), I'm fairly sure that
repos->repos diffs never report directory deletions, whether from a delete
or a rename. Fortunately, the other common use cases seem to work fine.
I'm guessing that the primary cause of this is that the directory contents
aren't available to the client. (And indeed, for an update or merge against
a working copy, you wouldn't _want_ to download the deleted contents). So
any fix has probably got to add an option to extend the remote report to
include the complete contents of deleted directories (or have the client
fetch the directory contents out-of-band, but I suspect this would be even
harder, as well as being messier).
That sounds beyond what I might be able to do, unfortunately, so I probably
won't be spending any more time on this issue.
Regards,
Malcolm
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 8 17:45:01 2005