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

Re: Diffs and deleted directories

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2006-03-25 13:32:57 CET

Garrett Rooney wrote:
> Does anyone know why 'svn diff' has such strangely inconsistent
> behavior with regard to deleted directories?
>
> For example, if I move a directory in my working copy from foo1 to
> foo2, svn diff will show me the following:
>
> $ svn move foo1 foo2
> A foo3
> D foo2/file.txt
> D foo2

"foo1/2/3"? I assume you've been messing with this output between Subversion
producing it and us reading it. Never mind; the essence of your example is clear.

[...]
> So the delete shows up, but not the add.
>
> If I then commit and look at the repos-repos diff it looks like this:
[...]
> Ok, this way the add shows up but the delete does not.
>
> Is it just me, or is this kinda weird?

It's not just you. It's horribly deficient at the functional specification
level[*], let alone implementation bugs.

Malcolm and I at least are aware of these horrible inconsistencies and hope to
do something towards sorting them out. Not that I'm doing anything much at the
moment...

- Julian

* i.e. we haven't written one. It makes me smile now to recall how, as a
student, I shunned the concept of "software engineering" with requirements,
documentation, etc.! It seemed pointless back then when any software design
I'd worked on was entirely inside my head.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 25 13:33:20 2006

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.