log mercurial/patch.py @ 52279:b267c5764cc6 stable 6.9

age author description
Mon, 16 Sep 2024 15:36:44 +0200 Matt Harbison typing: add `from __future__ import annotations` to most files
Fri, 06 Sep 2024 02:12:19 +0200 Pierre-Yves David brancing: merge stable into default
Fri, 09 Aug 2024 14:26:13 +0200 Manuel Jacob import: fix erroneous comparison of str with bytes stable
Thu, 18 Jul 2024 12:36:12 +0200 Raphaël Gomès black: format the codebase with 23.3.0
Tue, 23 Jul 2024 10:02:46 +0200 Raphaël Gomès Backout accidental publication of a large range of revisions
Thu, 18 Jul 2024 12:36:12 +0200 Raphaël Gomès black: format the codebase with 23.3.0
Thu, 31 Aug 2023 23:56:15 +0200 Pierre-Yves David safehasattr: drop usage in favor of hasattr
Thu, 02 Feb 2023 17:34:09 +0100 Pierre-Yves David safehasattr: pass attribute name as string instead of bytes
Thu, 02 Feb 2023 17:33:56 +0100 Pierre-Yves David safehasattr: pass attribute name as string instead of bytes
Wed, 14 Dec 2022 00:43:24 +0100 Pierre-Yves David dirstate: use `dirstate.change_files` to scope the change in `import`
Tue, 31 May 2022 22:50:01 +0200 Manuel Jacob py3: catch FileNotFoundError instead of checking errno == ENOENT
Sun, 29 May 2022 15:17:27 +0200 Manuel Jacob py3: replace `pycompat.xrange` by `range`
Mon, 21 Feb 2022 13:08:28 -0700 Gregory Szorc py3: use class X: instead of class X(object):
Mon, 21 Feb 2022 12:42:48 -0700 Gregory Szorc py3: stop using util.iterfile()
Tue, 01 Mar 2022 20:52:32 -0800 Gregory Szorc py3: replace pycompat.itervalues(x) with x.values()
Thu, 03 Mar 2022 18:28:30 -0800 Gregory Szorc global: bulk replace simple pycompat.iteritems(x) with x.items()
Thu, 03 Mar 2022 17:34:00 +0100 Gregory Szorc py2: remove simple from __future__ statements
Mon, 13 Dec 2021 20:19:09 -0500 Matt Harbison pytype: stop excluding patch.py
Fri, 19 Nov 2021 12:57:53 -0800 Martin von Zweigbergk errors: return more detailed errors when failing to parse or apply patch
Wed, 29 Sep 2021 15:40:13 +0200 Pierre-Yves David dirstate-item: use `any_tracked` instead of `state` to apply patches
Mon, 29 Mar 2021 01:52:06 +0200 Joerg Sonnenberger node: replace nullid and friends with nodeconstants class
Thu, 11 Mar 2021 18:45:18 -0500 Matt Harbison patch: convert a UI message to bytes when editing a patch stable
Fri, 26 Feb 2021 15:34:22 +0530 Sushil khanchi patch: fix a formatting issue stable
Tue, 16 Feb 2021 15:44:51 +0530 Sushil khanchi patch: make diff --git to differentiate b/w file is empty or doesn't exists stable
Mon, 11 Jan 2021 17:46:55 -0800 Kyle Lippincott patch: handle filenames with trailing spaces
Thu, 03 Dec 2020 14:15:39 -0500 Augie Fackler merge with stable
Sat, 28 Nov 2020 11:15:54 +0900 Yuya Nishihara diff: do not concatenate immutable bytes while building a/b bodies (issue6445) stable
Fri, 27 Nov 2020 17:03:29 -0500 Augie Fackler formating: upgrade to black 20.8b1
Thu, 22 Oct 2020 14:14:59 -0700 Martin von Zweigbergk errors: introduce CanceledError and use it in a few places
Fri, 17 Jul 2020 03:53:19 -0700 Rodrigo Damazio Bovendorp diff: move no-eol text constant to a common location
Mon, 06 Jul 2020 15:31:53 +0530 Pulkit Goyal patch: refactor content diffing part in separate fn so extensions can wrap
Thu, 09 Jul 2020 18:48:55 -0700 Rodrigo Damazio Bovendorp scmutil: allowing different files to be prefetched per revision
Thu, 30 Apr 2020 15:10:05 +0200 Elmar Bartel diff: re-establish linear runtime performance stable
Fri, 06 Mar 2020 13:27:41 -0500 Augie Fackler cleanup: run pyupgrade on our source tree to clean up varying things
Thu, 02 Jan 2020 11:04:18 -0800 Kyle Lippincott py3: __repr__ needs to return str, not bytes stable
Mon, 13 Jan 2020 17:15:14 -0500 Augie Fackler core: migrate uses of hashlib.sha1 to hashutil.sha1
Tue, 17 Dec 2019 23:33:35 -0500 Matt Harbison patch: fix header.__repr__() to not have `b''` prefixes in file names
Mon, 16 Dec 2019 23:27:17 -0500 Matt Harbison patch: make __repr__() return str
Sun, 01 Dec 2019 18:46:10 -0500 Matt Harbison cleanup: fix docstring formatting
Fri, 22 Nov 2019 21:42:04 +0900 Yuya Nishihara merge with stable
Thu, 21 Nov 2019 14:28:28 -0500 Matt Harbison patch: fix a str + bytes issue in an exception handler stable
Thu, 14 Nov 2019 15:27:58 -0500 Augie Fackler patch: use field names instead of field numbers on scmutil.status
Fri, 08 Nov 2019 11:19:20 -0800 Augie Fackler cleanup: remove pointless r-prefixes on single-quoted strings
Thu, 07 Nov 2019 13:18:19 -0500 Augie Fackler cleanup: remove pointless r-prefixes on double-quoted strings
Thu, 10 Oct 2019 16:02:47 +0200 Denis Laxalde py3: drop ui.flush() during interactive patch filtering
Thu, 10 Oct 2019 10:48:57 +0200 Denis Laxalde py3: use email.generator.BytesGenerator in patch.split()
Thu, 10 Oct 2019 10:03:01 +0200 Denis Laxalde py3: only flush before prompting during interactive patch filtering
Wed, 09 Oct 2019 15:24:14 +0200 Denis Laxalde py3: flush ui after each message in interactive patch filtering
Tue, 08 Oct 2019 15:06:18 -0700 Martin von Zweigbergk cleanup: join string literals that are already on one line
Mon, 07 Oct 2019 00:04:04 -0400 Gregory Szorc py3: finish porting iteritems() to pycompat and remove source transformer
Sun, 06 Oct 2019 17:59:15 -0400 Gregory Szorc py3: define and use pycompat.itervalues()
Sun, 06 Oct 2019 13:06:19 +0200 Denis Laxalde import: read X-Mercurial-Node email header to determine nodeid
Sun, 06 Oct 2019 13:28:56 -0400 Gregory Szorc py3: manually import pycompat.open into files that need it
Sun, 06 Oct 2019 09:48:39 -0400 Augie Fackler formatting: byteify all mercurial/ and hgext/ string literals
Sun, 06 Oct 2019 09:45:02 -0400 Augie Fackler formatting: blacken the codebase
Sun, 06 Oct 2019 12:59:47 +0200 Denis Laxalde import: add debug messages when parsing data from patch header
Tue, 27 Aug 2019 11:56:19 -0700 Kyle Lippincott split: handle partial commit of renames when doing split or record (issue5723)
Tue, 27 Aug 2019 11:56:15 -0700 Kyle Lippincott split: handle partial commit of copies when doing split or record
Thu, 20 Jun 2019 14:45:52 -0700 Kyle Lippincott patch: use a short, fixed-size message for last line of prompt (issue6158)
Thu, 04 Apr 2019 11:35:18 +0200 Denis Laxalde interactive: do not prompt about files given in command line
Tue, 12 Mar 2019 14:17:41 -0700 Martin von Zweigbergk revert: option to choose what to keep, not what to discard
Tue, 12 Mar 2019 14:58:35 -0700 Martin von Zweigbergk patch: include newline at EOF in help text for interactive patch
Sun, 03 Mar 2019 20:16:22 +0530 Sushil khanchi patch: include flag-only file changes in "special" when filtering (issue5864)
Fri, 22 Feb 2019 03:52:10 +0530 Pulkit Goyal diff: make sure we output stat even when --git is not passed (issue4037) (BC)
Wed, 20 Feb 2019 19:28:51 -0500 Augie Fackler cleanup: use () to wrap long lines instead of \
Wed, 06 Feb 2019 23:12:56 -0800 Martin von Zweigbergk patch: replace "prefix" and "relroot" arguments by "pathfn" (API)
Thu, 07 Feb 2019 16:43:42 +0300 Pulkit Goyal py3: make sure __repr__ returns str
Wed, 06 Feb 2019 22:52:49 -0800 Martin von Zweigbergk patch: accept second matcher that applies only to copy sources (API)
Wed, 06 Feb 2019 17:46:20 -0800 Martin von Zweigbergk patch: let caller pass in root-filtering matcher (API)
Wed, 06 Feb 2019 17:27:43 -0800 Martin von Zweigbergk patch: pass in context objects into diffhunks() (API)
Mon, 04 Feb 2019 08:59:11 -0800 Gregory Szorc patch: properly escape \ in string literals
Mon, 04 Feb 2019 08:54:30 -0800 Gregory Szorc global: use raw strings for regular expressions with escapes
Thu, 31 Jan 2019 16:51:52 -0800 Martin von Zweigbergk diff: drop duplicate filter of copies by destination
Thu, 31 Jan 2019 16:32:54 -0800 Martin von Zweigbergk diff: use match.intersectmatchers()
Mon, 28 Jan 2019 18:00:14 -0800 Kyle Lippincott patch: handle 0 context lines (diff.unified=0) when parsing patches
Sat, 26 Jan 2019 13:14:21 +0530 Navaneeth Suresh diffstat: support filenames with whitespaces on renames
Thu, 17 Jan 2019 18:05:54 +0530 Navaneeth Suresh diffstat: make --git work properly on renames (issue6025)
Thu, 17 Jan 2019 09:17:12 -0800 Martin von Zweigbergk cleanup: delete lots of unused local variables
Sun, 14 Oct 2018 09:24:36 +0000 Mark Thomas py3: fix test-diff-color.t
Fri, 14 Sep 2018 23:59:41 +0300 Pulkit Goyal py3: slice through bytes to prevent getting ascii value
Wed, 01 Aug 2018 13:00:45 -0700 Gregory Szorc global: use pycompat.xrange()
Fri, 27 Jul 2018 14:48:34 -0700 Martin von Zweigbergk patch: use ctx1.status(ctx2) instead of repo.status(ctx1, ctx2)
Tue, 10 Jul 2018 13:18:34 +0200 Sune Foldager patch: don't separate \r and \n when colorizing diff output
Fri, 06 Jul 2018 21:49:25 +0900 Yuya Nishihara diffutil: move the module out of utils package
Fri, 06 Jul 2018 21:41:36 +0900 Yuya Nishihara diffutil: remove diffopts() in favor of diffallopts()
Thu, 28 Jun 2018 16:11:13 +0200 Boris Feld diffutil: extract diff options code into a dedicated util-module
Thu, 28 Jun 2018 18:07:22 -0700 Kyle Lippincott unlinkpath: make empty directory removal optional (issue5901) (issue5826)
Sat, 16 Jun 2018 19:31:07 +0900 Yuya Nishihara py3: ditch email.parser.BytesParser which appears to be plain crap
Sat, 16 Jun 2018 17:53:51 +0900 Yuya Nishihara py3: replace s[-1] with s.endswith() in eol handling
Sat, 26 May 2018 12:20:36 +0900 Yuya Nishihara py3: wrap tempfile.mkdtemp() to use bytes path
Sat, 26 May 2018 12:14:04 +0900 Yuya Nishihara py3: wrap tempfile.mkstemp() to use bytes path
Sat, 19 May 2018 15:14:56 -0400 Augie Fackler patch: add debug message to show external patch tool invocation
Sat, 19 May 2018 18:51:14 +0530 Pulkit Goyal py3: bytestr() bytes to get bytechar while iterating on it
Sat, 19 May 2018 18:49:07 +0530 Pulkit Goyal py3: slice over bytes to prevent getting the ascii values
Fri, 18 May 2018 19:54:50 -0400 Augie Fackler patch: fix import-time syntax error in test-check-module-imports.t
Sat, 19 May 2018 00:19:56 +0530 Pulkit Goyal py3: use .startswith() instead of bytes[0]
Fri, 20 Apr 2018 20:48:10 +0900 Yuya Nishihara diffhelper: rename module to avoid conflicts with ancient C module (issue5846) stable
Sat, 14 Apr 2018 20:11:27 -0400 Matt Harbison diff: invoke the file prefetch hook
Mon, 09 Apr 2018 15:58:30 -0700 Jun Wu patch: implement a new worddiff algorithm
Mon, 19 Mar 2018 04:28:30 -0700 Jun Wu patch: buffer lines for a same hunk
Mon, 19 Mar 2018 04:28:29 -0700 Jun Wu patch: move yielding "\n" to the end of loop
Thu, 12 Apr 2018 23:14:38 -0700 Gregory Szorc patch: make extract() a context manager (API)
Mon, 09 Apr 2018 21:08:52 +0900 Yuya Nishihara diffhelpers: make return value of testhunk() more Pythonic
Mon, 09 Apr 2018 21:06:46 +0900 Yuya Nishihara patch: error out if reached to EOF while reading hunk
Mon, 09 Apr 2018 20:54:00 +0900 Yuya Nishihara diffhelpers: move out of pure package
Mon, 09 Apr 2018 20:52:54 +0900 Yuya Nishihara diffhelpers: naming and whitespace cleanup
Mon, 09 Apr 2018 20:49:39 +0900 Yuya Nishihara patch: stop using cext.diffhelpers
Sun, 08 Apr 2018 15:39:08 +0900 Yuya Nishihara py3: use s.startswith() instead of s[n] while parsing patches
Sun, 08 Apr 2018 15:03:00 +0900 Yuya Nishihara py3: use system string to access email headers
Sat, 07 Apr 2018 21:23:42 +0900 Yuya Nishihara procutil: make explainexit() simply return a message (API)
Sat, 07 Apr 2018 20:50:38 +0900 Yuya Nishihara procutil: always popen() in binary mode
Sat, 07 Apr 2018 13:42:37 +0900 Yuya Nishihara py3: convert parsed message items to bytes in patch.extract()
Sat, 24 Mar 2018 15:10:51 +0900 Yuya Nishihara procutil: bulk-replace function calls to point to new module
Thu, 22 Mar 2018 21:56:20 +0900 Yuya Nishihara stringutil: bulk-replace call sites to point to new module
Sat, 10 Mar 2018 19:49:09 +0900 Yuya Nishihara py3: open patch file in binary mode and convert eol manually
Tue, 06 Mar 2018 07:45:57 -0600 Yuya Nishihara py3: wrap file object to write patch in native eol preserving byte-ness
Sat, 10 Mar 2018 15:57:16 +0900 Yuya Nishihara py3: use r'' instead of sysstr('') to get around code transformer
Sat, 03 Mar 2018 12:39:14 -0800 Jun Wu mdiff: add a config option to use xdiff algorithm
Sat, 03 Mar 2018 14:21:47 -0500 Yuya Nishihara py3: fix slicing of bytes in patch.iterhunks()
Thu, 15 Feb 2018 17:18:26 +0100 Boris Feld util: extract all date-related utils in utils/dateutil module