Re: svn diff -- does not show deleted directories

Ryan Schmidt <[email protected]> Fri, 6 Jan 2006 01:19:36 +0100
Newsgroups gmane.comp.version-control.subversion.devel,gmane.mail.eyebrowse.user
Message-ID <6D409700-ED75-46FC-BF6B-69CA53755727__49045.9921573803$1136585341$gmane$org@ryandesign.com>
On Jan 5, 2006, at 22:56, Hari Kodungallur wrote:

> I am using SVN 1.1.3 server and 1.2.0 client.
>
> These are the steps that I have done:
>
> svn cp SVNROOT/vendors/comp1 SVNROOT/components/comp1
> svn rm SVNROOT/components/comp1/dir1
>
> [And then changed and commited a number of files in SVNROOT/ 
> components/comp1]
>
> Now, svn diff SVNROOT/vendors/comp1 SVNROOT/compeonts/comp1 does not
> show the directory dir1 that was deleted.
>
> I read an old thread reporting the same problem:
> http://svn.haxx.se/dev/archive-2004-03/0111.shtml
>
> I am wondering whether it was fixed and if it was, in which version.

That seems to be this bug:

http://subversion.tigris.org/issues/show_bug.cgi?id=2333

The behavior appears to remain in Subversion 1.3.0:

$ svn diff \
svn://svn.debian.org/pkg-exim4/exim/tags/{4.54-2,4.60-1} \
| wc 2>/dev/null
      669    3645   27053
$ svn diff \
svn://svn.debian.org/pkg-exim4/exim/tags/{4.60-1,4.54-2} \
| wc 2>/dev/null
      677    3661   27258

$ svn --version
svn, version 1.3.0 (r17949)
    compiled Jan  3 2006, 12:45:37

Copyright (C) 2000-2005 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http:// 
www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV)  
protocol.
   - handles 'http' scheme
   - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network  
protocol.
   - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' scheme