Re: Fw: SVN: Diffs for removed directories
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-03-05 14:53:06 CET
John Szakmeister wrote:
Oh, dear. I think those diff internals are not as nicely factored as they could be. There are other inconsistencies in the output as well. I've been meaning to dig in and see what I can do.
> FWIW, diff -u doesn't produce diffs if a directory is missing.
'patch' can remove directories, but that's only partly relevant. We should certainly try to produce output that is, by default, as useful with "patch" as possible, which means we should produce diffs for deleted files. But in particular, we provide a "--no-diff-deleted" flag to suppress the output of diffs for deleted files, so, in the absence of this switch, we should produce such diffs.
The problem is that our "diff" is just not self-consistent, and I think we can justly call that a bug and fix it (even in version 1.0.1 if we want to do it that soon).
- Julian
---------------------------------------------------------------------
|
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.