sapling/mercurial
Patrick Mezard c1548a6a3e Add patch.eol to ignore EOLs when patching (issue1019)
The intent is to fix many issues involving patching when win32ext is enabled.
With win32ext, the working directory and repository files EOLs are not the same
which means that patches made on a non-win32ext host do not apply cleanly
because of EOLs discrepancies. A theorically correct approach would be
transform either the patched file or the patch content with the
encoding/decoding filters used by win32ext. This solution is tricky to
implement and invasive, instead we prefer to address the win32ext case, by
offering a way to ignore input EOLs when patching and rewriting them when
saving the patched result.
2009-06-15 00:03:26 +02:00
..
hgweb localrepo: remove 'closed' argument to heads(...) function 2009-06-10 19:11:49 -04:00
pure replace "i in range(len(xs))" with "i, x in enumerate(xs)" 2009-05-26 22:59:52 +02:00
__init__.py Add back links from file revisions to changeset revisions 2005-05-03 13:16:10 -08:00
ancestor.py ancestor: use set instead of dict 2009-05-17 03:53:13 +02:00
archival.py use new style classes 2009-06-10 15:10:21 +02:00
base85.c Some additional space/tab cleanups 2008-10-20 15:19:05 +02:00
bdiff.c bdiff: add comment about normalization 2009-01-12 17:51:57 +01:00
bundlerepo.py separate import lines from mercurial and general python modules 2009-04-28 17:40:46 +02:00
byterange.py byterange: fix import error 2009-05-14 13:20:04 +02:00
changegroup.py separate import lines from mercurial and general python modules 2009-04-28 17:40:46 +02:00
changelog.py use new style classes 2009-06-10 15:10:21 +02:00
cmdutil.py remoteui: properly create dst with copy() 2009-06-12 02:19:51 -05:00
commands.py Add patch.eol to ignore EOLs when patching (issue1019) 2009-06-15 00:03:26 +02:00
config.py config: make remap actually work 2009-05-04 14:21:43 -05:00
context.py context: add a dirty method to detect modified contexts 2009-06-04 16:21:55 -05:00
copies.py use 'x is None' instead of 'x == None' 2009-05-20 00:52:46 +02:00
demandimport.py updated license to be explicit about GPL version 2 2009-04-26 01:08:54 +02:00
diffhelpers.c Handle patches with misformatted empty lines 2007-11-01 17:15:50 -05:00
dirstate.py dirstate: fix typo introduced by ceed02d64e3b 2009-06-13 22:42:16 +02:00
dispatch.py Move alias into core 2009-05-30 11:32:23 -07:00
encoding.py separate import lines from mercurial and general python modules 2009-04-28 17:40:46 +02:00
error.py turn some comments back into module docstrings 2009-04-26 01:24:49 +02:00
extensions.py ui: print_exc() -> traceback() 2009-04-26 16:50:44 -05:00
fancyopts.py some modernization cleanups, forward compatibility 2009-05-13 14:08:39 +02:00
filelog.py filelog encoding: move the encoding/decoding into store 2009-05-20 18:35:47 +02:00
filemerge.py use ui instead of repo.ui when the former is in scope 2009-05-24 22:37:20 +02:00
graphmod.py updated license to be explicit about GPL version 2 2009-04-26 01:08:54 +02:00
hbisect.py hbisect: use set.update for bulk updates 2009-05-17 16:57:12 +02:00
help.py fixed typos found in translatable strings 2009-05-31 14:55:51 +02:00
hg.py share: allow dest to default to the basename of source 2009-06-13 18:16:44 -05:00
hook.py some modernization cleanups, forward compatibility 2009-05-13 14:08:39 +02:00
httprepo.py named branches: client branchmap wire protocol support (issue736) 2009-05-23 17:03:51 +02:00
i18n.py separate import lines from mercurial and general python modules 2009-04-28 17:40:46 +02:00
ignore.py match: add some default args 2009-05-24 02:56:14 -05:00
keepalive.py util: remove md5 2009-05-04 21:30:39 +02:00
localrepo.py repo: add internal support for sharing store directories 2009-06-13 18:01:46 -05:00
lock.py separate import lines from mercurial and general python modules 2009-04-28 17:40:46 +02:00
lsprof.py cleanup: drop unused assignments 2009-03-23 13:13:06 +01:00
lsprofcalltree.py drop unused imports 2009-05-14 15:35:46 +02:00
mail.py patchbomb: quoted-printable encode overly long lines 2009-05-08 18:30:44 +02:00
manifest.py drop unused imports 2009-05-14 15:35:46 +02:00
match.py Generally replace "file name" with "filename" in help and comments. 2009-06-09 09:25:17 -04:00
mdiff.py replace "i in range(len(xs))" with "i, x in enumerate(xs)" 2009-05-26 22:59:52 +02:00
merge.py merge: refactor manifestmerge init to better report effective ancestor 2009-06-08 18:14:44 -05:00
mpatch.c allow Mercurial to compile on Haiku 2008-09-17 10:22:35 +02:00
node.py put license and copyright info into comment blocks 2009-04-26 01:13:08 +02:00
osutil.c Merge with crew-stable 2009-06-06 13:37:41 -07:00
parsers.c Some additional space/tab cleanups 2008-10-20 15:19:05 +02:00
patch.py Add patch.eol to ignore EOLs when patching (issue1019) 2009-06-15 00:03:26 +02:00
posix.py Generally replace "file name" with "filename" in help and comments. 2009-06-09 09:25:17 -04:00
repair.py replace xrange(0, n) with xrange(n) 2009-05-25 23:06:11 +02:00
repo.py updated license to be explicit about GPL version 2 2009-04-26 01:08:54 +02:00
revlog.py revlog: make triple-quoted string a real comment 2009-05-31 00:58:20 +02:00
simplemerge.py separate import lines from mercurial and general python modules 2009-04-28 17:40:46 +02:00
sshrepo.py named branches: client branchmap wire protocol support (issue736) 2009-05-23 17:03:51 +02:00
sshserver.py named branches: server branchmap wire protocol support (issue736) 2009-05-23 17:02:49 +02:00
statichttprepo.py statichttprepo: handle remote not supporting Range headers 2009-05-24 18:31:01 +02:00
store.py use new style classes 2009-06-10 15:10:21 +02:00
streamclone.py Generally replace "file name" with "filename" in help and comments. 2009-06-09 09:25:17 -04:00
strutil.py updated license to be explicit about GPL version 2 2009-04-26 01:08:54 +02:00
templatefilters.py templater: retain author's full name if no email is supplied (issue1685) 2009-06-03 14:50:03 +02:00
templater.py templater: replace eval with closure 2009-05-17 18:17:04 -05:00
transaction.py transaction: add atomic groups to transaction logic 2009-05-11 21:12:40 +02:00
ui.py posix: do not use fstat in isowner 2009-05-30 23:42:35 +02:00
url.py url: use CONNECT for HTTPS connections through HTTP proxy (issue967) 2009-05-22 08:56:43 +02:00
util.py atomictempfile: fix exception in __del__ if mktempcopy fails (self._fp is None) 2009-06-13 13:14:02 +02:00
verify.py verify: use set instead of dict 2009-05-17 04:14:15 +02:00
win32.py removed unused imports 2009-05-30 23:20:30 +02:00
windows.py use new style classes 2009-06-10 15:10:21 +02:00