##// END OF EJS Templates
add a fix for issue 1175...
add a fix for issue 1175 If we copy a file followed by an update, it's possible for the parent manifest to no longer contain the source file of the copy, which could cause commit to fail. If this happens, we search backwares from the first parent to find the most likely original revision.

File last commit:

r5863:3d1f9dce default
r6875:0d714a48 default
Show More
test-diff-hashes.out
33 lines | 722 B | text/plain | TextLexer
/ tests / test-diff-hashes.out
Patrick Mezard
Move diffing missing file test and remove test-notfound...
r5689 found: No such file or directory
not: No such file or directory
Alexis S. L. Carvalho
use short hashes with diff -v
r3387 quiet:
--- a/foo Mon Jan 12 13:46:40 1970 +0000
+++ b/foo Mon Jan 12 13:46:41 1970 +0000
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,1 +1,1 @@
Alexis S. L. Carvalho
use short hashes with diff -v
r3387 -bar
+foobar
normal:
diff -r 74de3f1392e2 -r b8b5f023a6ad foo
--- a/foo Mon Jan 12 13:46:40 1970 +0000
+++ b/foo Mon Jan 12 13:46:41 1970 +0000
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,1 +1,1 @@
Alexis S. L. Carvalho
use short hashes with diff -v
r3387 -bar
+foobar
verbose:
diff -r 74de3f1392e2 -r b8b5f023a6ad foo
--- a/foo Mon Jan 12 13:46:40 1970 +0000
+++ b/foo Mon Jan 12 13:46:41 1970 +0000
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,1 +1,1 @@
Alexis S. L. Carvalho
use short hashes with diff -v
r3387 -bar
+foobar
debug:
diff -r 74de3f1392e2d67856fb155963441f2610494e1a -r b8b5f023a6ad77fc378bd95cf3fa00cd1414d107 foo
--- a/foo Mon Jan 12 13:46:40 1970 +0000
+++ b/foo Mon Jan 12 13:46:41 1970 +0000
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,1 +1,1 @@
Alexis S. L. Carvalho
use short hashes with diff -v
r3387 -bar
+foobar