Commit Graph

380 Commits

Author SHA1 Message Date
Alexis S. L. Carvalho
38eb833dca use short hashes with diff -v 2006-10-13 15:34:35 -03:00
Brendan Cully
2b2122f24a Add popen2 demandload to patch.py, required by diffstat 2006-10-12 16:34:32 -07:00
Brendan Cully
490357d105 Use line length field when extracting git binary patches 2006-10-12 13:39:14 -07:00
Brendan Cully
59b9d3d043 Add git-1.4 binary patch support 2006-10-12 09:17:16 -07:00
Brendan Cully
2b9e1a5fbd Don't generate git diff header for empty diffs 2006-10-10 14:48:26 -07:00
Benoit Boissinot
b58f394b3c fix warnings from pychecker 2006-10-02 21:10:31 +02:00
Thomas Arendsen Hein
0a7b982aa6 Whitespace/Tab cleanup 2006-10-01 19:26:33 +02:00
Stephen Darnell
a808384cf1 Add -D/--nodates options to hg diff/export that removes dates from diff headers
and replace uses of sed in the tests with --nodates.
2006-09-26 00:05:24 +01:00
Benoit Boissinot
a952c24cfd fix users of dirstate.copies broken by 2f0cc26377ab 2006-09-26 13:58:58 +02:00
Matt Doar
223e5f58eb Add support for diffstat in commit emails, and move diffstat from
patchbomb to patch
2006-09-13 13:14:08 -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
Benoit Boissinot
c0b915f6a5 unlink temporary patch files even when an exception is raised 2006-09-05 01:11:14 +02:00
Brendan Cully
5d3521d32c Remove temporary git patch files 2006-08-30 13:42:57 -07:00
Brendan Cully
955a275a1c Fix git patch application when cwd != repo.root 2006-08-30 13:12:26 -07:00
Vadim Gelfer
0d5df3aaf3 merge. 2006-08-18 17:02:38 -07:00
Giorgos Keramidas
a1e9b12e3d add missing import of errno 2006-08-17 21:13:35 +03:00
Brendan Cully
16fb95a415 Teach mq about git patches 2006-08-16 19:49:45 -07:00
Brendan Cully
bbf7e4e798 Move import's working dir update code into patch.updatedir 2006-08-16 19:46:18 -07:00
Vadim Gelfer
9614f4bd5b redo merge with mpm.
previous merge at 8c0343e3f2b7 was bad.
2006-08-16 10:52:19 -07:00
Brendan Cully
2709262462 Unify mq and hg patch invocation.
This makes patch a little less verbose by default, so the tests
had to be updated.
2006-08-15 11:28:50 -07:00
Matt Mackall
6ecbc46d1a Move ui.diffopts to patch.diffopts where it belongs 2006-08-15 11:34:08 -05:00
Brendan Cully
c18265f47c Add diff --git option 2006-08-14 22:48:03 -07:00
Vadim Gelfer
ed05627ce0 fix patch.patch.filterfiles.
now test-diff-subdir passes.
2006-08-13 15:24:30 -07:00
Vadim Gelfer
80d6f2f7c7 remove localrepository.changes.
use localrepository.status instead.
2006-08-12 16:40:12 -07:00
Vadim Gelfer
13d751feaf refactor text diff/patch code.
rename commands.dodiff to patch.diff.
rename commands.doexport to patch.export.
move some functions from commands to new mercurial.cmdutil module.
turn list of diff options into mdiff.diffopts class.

patch.diff and patch.export now has clean api for call from 3rd party
python code.
2006-08-12 16:13:27 -07:00
Vadim Gelfer
57aab63e91 util: qualify name properly. 2006-08-12 15:41:26 -07:00
Vadim Gelfer
beb26e5257 commands.import: refactor patch parsing into patch.extract. 2006-08-12 13:16:48 -07:00
Vadim Gelfer
2eab8e108e merge git patch code. 2006-08-12 12:47:18 -07:00
Brendan Cully
81f4208ee0 Remove debugging line 2006-08-11 16:55:48 -07:00
Brendan Cully
4f1b3a83bb Move patch-related code into its own module. 2006-08-11 15:50:16 -07:00