[darcs-devel] [issue1607] darcs diff does not interact well with renames, adds, or removals
Samuel Bronson
bugs at darcs.net
Fri Sep 11 16:04:05 UTC 2009
New submission from Samuel Bronson <naesten at gmail.com>:
Apparently, "darcs diff" does nothing but, for each path in the union of the new
and old trees' file paths, run diff between that name in the old tree and that
name in the new tree.
For example:
naesten at hydrogen:~/.emacs/dvc/darcstest% darcs whatsnew
move ./bar ./baz
addfile ./bar
hunk ./bar 1
+bar
hunk ./baz 1
-bar
+baz
hunk ./foo 1
-foo
rmfile ./foo
naesten at hydrogen:~/.emacs/dvc/darcstest% darcs diff
diff -rN -u old-darcstest/baz new-darcstest/baz
--- old-darcstest/baz 1969-12-31 19:00:00.000000000 -0500
+++ new-darcstest/baz 2009-09-11 12:02:21.000000000 -0400
@@ -0,0 +1 @@
+baz
diff -rN -u old-darcstest/foo new-darcstest/foo
--- old-darcstest/foo 2009-09-11 12:02:21.000000000 -0400
+++ new-darcstest/foo 1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-foo
----------
messages: 8788
nosy: SamB, darcs-devel, dmitry.kurochkin
status: unknown
title: darcs diff does not interact well with renames, adds, or removals
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1607>
__________________________________
More information about the darcs-devel
mailing list