You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Hari Kodungallur <hk...@gmail.com> on 2006/01/05 21:56:06 UTC

svn diff -- does not show deleted directories

Hi,

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.

thanks very much!
--
-Hari Kodungallur
SpikeSource Inc.
http://developer.spikesource.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: svn diff -- does not show deleted directories

Posted by Malcolm Rowe <ma...@farside.org.uk>.
On Mon, Jan 09, 2006 at 12:07:44AM +0100, Ryan Schmidt wrote:
> On Jan 8, 2006, at 15:53, Ben Collins-Sussman wrote:
> 
> >Is there a bug already filed on this?  If not, we should file it.
> 
> As far as I can tell, it's this bug:
> 
> http://subversion.tigris.org/issues/show_bug.cgi?id=2333
> 

Yes, it's that bug (although masquerading there as a rename -
delete+add-with-history).

We have XFAILing regression tests as well, so it's definitely something
I'd like to fix/see fixed at some point.  I've got a ton of minor
fixes to libsvn_wc/diff.c I'd like to get properly tested and committed
first though.

Regards,
Malcolm

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn diff -- does not show deleted directories

Posted by Malcolm Rowe <ma...@farside.org.uk>.
On Mon, Jan 09, 2006 at 12:07:44AM +0100, Ryan Schmidt wrote:
> On Jan 8, 2006, at 15:53, Ben Collins-Sussman wrote:
> 
> >Is there a bug already filed on this?  If not, we should file it.
> 
> As far as I can tell, it's this bug:
> 
> http://subversion.tigris.org/issues/show_bug.cgi?id=2333
> 

Yes, it's that bug (although masquerading there as a rename -
delete+add-with-history).

We have XFAILing regression tests as well, so it's definitely something
I'd like to fix/see fixed at some point.  I've got a ton of minor
fixes to libsvn_wc/diff.c I'd like to get properly tested and committed
first though.

Regards,
Malcolm

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn diff -- does not show deleted directories

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 8, 2006, at 15:53, Ben Collins-Sussman wrote:

> Is there a bug already filed on this?  If not, we should file it.

As far as I can tell, it's this bug:

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn diff -- does not show deleted directories

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 8, 2006, at 15:53, Ben Collins-Sussman wrote:

> Is there a bug already filed on this?  If not, we should file it.

As far as I can tell, it's this bug:

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



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn diff -- does not show deleted directories

Posted by Ben Collins-Sussman <su...@red-bean.com>.
Is there a bug already filed on this?  If not, we should file it. 
Here's a really simple reproduction recipe / demo transcript:

[sussman@sussman-mac:...]$ svn ls file://`pwd`/repos
blank.html
brain/
columns/
dnd-monday/
downloads/
gpgkey.html
images/
index.html
links.html
orbit-sim/
personal.html
resumes/
styles.css
styles2.css
svn-anti-fud.html
[sussman@sussman-mac:...]$ svn rm file://`pwd`/repos/columns -m "remove dir"

Committed revision 2.
[sussman@sussman-mac:...]$ svn diff -r1:2 file://`pwd`/repos
[sussman@sussman-mac:...]$ svn rm file://`pwd`/repos/images/tweeds.jpg
-m "remove file in dir"

Committed revision 3.
[sussman@sussman-mac:...]$ svn diff -r2:3 file://`pwd`/reposIndex:
images/tweeds.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: svn diff -- does not show deleted directories

Posted by Ben Collins-Sussman <su...@red-bean.com>.
Is there a bug already filed on this?  If not, we should file it. 
Here's a really simple reproduction recipe / demo transcript:

[sussman@sussman-mac:...]$ svn ls file://`pwd`/repos
blank.html
brain/
columns/
dnd-monday/
downloads/
gpgkey.html
images/
index.html
links.html
orbit-sim/
personal.html
resumes/
styles.css
styles2.css
svn-anti-fud.html
[sussman@sussman-mac:...]$ svn rm file://`pwd`/repos/columns -m "remove dir"

Committed revision 2.
[sussman@sussman-mac:...]$ svn diff -r1:2 file://`pwd`/repos
[sussman@sussman-mac:...]$ svn rm file://`pwd`/repos/images/tweeds.jpg
-m "remove file in dir"

Committed revision 3.
[sussman@sussman-mac:...]$ svn diff -r2:3 file://`pwd`/reposIndex:
images/tweeds.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: svn diff -- does not show deleted directories

Posted by Ryan Schmidt <su...@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



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn diff -- does not show deleted directories

Posted by Ryan Schmidt <su...@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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org