Commit Graph

9 Commits

Author SHA1 Message Date
Alexis S. L. Carvalho
14c4429263 git patches: handle renames of binary files 2007-02-16 04:54:46 -02:00
Alexis S. L. Carvalho
6d99bd2633 Don't generate git patches that rename a file to multiple destinations
With this patch, instead of generating N renames, we'll generate
1 rename and N-1 copies.

Ideally the rename should come after the copies instead of before
them, but that'd be harder to do.
2006-11-20 19:32:46 -02:00
Alexis S. L. Carvalho
f2de15a6f8 diff: better detection of renames when comparing with the working dir. 2006-11-20 19:32:38 -02:00
Alexis S. L. Carvalho
bc9e70b94a fix typo in mercurial/patch.py 2006-11-20 19:32:37 -02:00
Alexis S. L. Carvalho
fdbef41b13 renamedbetween: only return (file, node) pairs that exist in the original rev 2006-11-20 19:32:36 -02:00
Alexis S. L. Carvalho
588b7cf1f1 diff: improve detection of renames when diffing across many revisions 2006-11-20 19:32:35 -02:00
Brendan Cully
6d19589c0b Add test for git binary diff support 2006-10-12 09:17:16 -07:00
Benoit Boissinot
670858c395 git --diff: fix traceback when getting mode change
- use the manifest instead of the mode in the working dir
  if the diff is against two revisions
- add a testcase
2006-09-07 14:12:39 +02:00
Brendan Cully
c18265f47c Add diff --git option 2006-08-14 22:48:03 -07:00