Wed, 03 Jul 2024 12:31:21 +0200 |
Pierre-Yves David |
mmap: only use mmap to read rev-branch-cache data if it is safe
stable
|
Mon, 24 Jun 2024 10:52:46 +0200 |
Raphaël Gomès |
branch3: use an explicitely experimental name for files
|
Thu, 07 Mar 2024 10:57:16 +0100 |
Pierre-Yves David |
branchcache: allow to detect "pure topological case" for branchmap
|
Thu, 07 Mar 2024 04:15:23 +0100 |
Pierre-Yves David |
branchcache: add a "pure topological head" fast path
|
Wed, 06 Mar 2024 16:18:03 +0100 |
Pierre-Yves David |
branchcache: move the processing of the new data in a dedicated method
|
Wed, 06 Mar 2024 16:10:44 +0100 |
Pierre-Yves David |
branchcache: gather newly closed head in a dedicated set
|
Wed, 06 Mar 2024 16:09:42 +0100 |
Pierre-Yves David |
branchcache: gather new obsolete revision in a set
|
Wed, 06 Mar 2024 15:54:22 +0100 |
Pierre-Yves David |
branchcache: filter obsolete revisions sooner
|
Thu, 07 Mar 2024 10:55:22 +0100 |
Pierre-Yves David |
branchcache: skip entries that are topological heads in the on disk file
|
Wed, 06 Mar 2024 11:39:44 +0100 |
Pierre-Yves David |
branchcache: store filtered hash and obsolete hash independently for V3
|
Wed, 06 Mar 2024 02:20:53 +0100 |
Pierre-Yves David |
branchcache: rework the `filteredhash` logic to be more generic
|
Wed, 06 Mar 2024 01:53:52 +0100 |
Pierre-Yves David |
filteredhash: rename the filteredhash function
|
Sun, 25 Feb 2024 23:31:50 +0100 |
Pierre-Yves David |
branchcache: cleanup the final key generation after update
|
Mon, 26 Feb 2024 15:44:44 +0100 |
Pierre-Yves David |
branchcache-v3: use more explicit header line
|
Mon, 26 Feb 2024 14:20:36 +0100 |
Pierre-Yves David |
branchcache-v3: introduce a v3 format
|
Tue, 27 Feb 2024 14:04:29 +0100 |
Pierre-Yves David |
branchcache: use an explicit class for the v2 version
|
Fri, 15 Mar 2024 10:52:51 +0100 |
Raphaël Gomès |
branching: merge stable into default
|
Sun, 10 Mar 2024 03:25:04 +0100 |
Pierre-Yves David |
branchcache: explictly update disk state only if no transaction exist
|
Sun, 10 Mar 2024 03:32:50 +0100 |
Pierre-Yves David |
branchcache: do not use `__getitem__` in updatecache
|
Sun, 10 Mar 2024 05:10:00 +0100 |
Pierre-Yves David |
branchcache: explicitly track inheritence "state"
|
Sun, 10 Mar 2024 04:53:17 +0100 |
Pierre-Yves David |
branchcache: stop writing more branchcache file on disk than needed
|
Fri, 08 Mar 2024 16:49:06 +0100 |
Pierre-Yves David |
branchcache: do not copy the `_dirty` flag
|
Fri, 08 Mar 2024 16:52:08 +0100 |
Pierre-Yves David |
branchcache: explicitly assert that copy is always about inheritance
|
Sat, 09 Mar 2024 02:07:15 +0100 |
Pierre-Yves David |
branchcache: stop using `copy(…)` in `replace(…)`
|
Fri, 08 Mar 2024 16:47:32 +0100 |
Pierre-Yves David |
branchcache: change the _delayed flag to an explicit `_dirty` flag
|
Fri, 08 Mar 2024 15:50:15 +0100 |
Pierre-Yves David |
branchcache: write branchmap in subset inheritance order
|
Fri, 08 Mar 2024 15:06:54 +0100 |
Pierre-Yves David |
branchcache: do not accept "empty update"
|
Thu, 07 Mar 2024 11:04:34 +0100 |
Pierre-Yves David |
branchcache: avoid created a `None` filter repoview when writing
|
Mon, 26 Feb 2024 15:26:08 +0100 |
Pierre-Yves David |
branchcache: move head writing in a `_write_headers` method
|
Mon, 26 Feb 2024 15:25:41 +0100 |
Pierre-Yves David |
branchcache: move head writing in a `_write_heads` method
|
Mon, 26 Feb 2024 15:23:45 +0100 |
Pierre-Yves David |
branchcache: move the header loading in a `_load_header` class method
|
Mon, 26 Feb 2024 15:15:10 +0100 |
Pierre-Yves David |
branchcache: simplify a long line
|
Mon, 26 Feb 2024 15:12:20 +0100 |
Pierre-Yves David |
branchcache: rename `load` to `_load_heads`
|
Sun, 25 Feb 2024 20:40:37 +0100 |
Pierre-Yves David |
branchcache: move the filename to a class attribute
|
Sun, 25 Feb 2024 16:14:15 +0100 |
Pierre-Yves David |
branchcache: drop the unused `_verifyclosed`
|
Mon, 26 Feb 2024 15:46:24 +0100 |
Pierre-Yves David |
branchcache: dispatch the code into the dedicated subclass
|
Sun, 25 Feb 2024 14:09:36 +0100 |
Pierre-Yves David |
branchcache: introduce a base class for branchmap
|
Mon, 19 Feb 2024 12:09:06 +0100 |
Pierre-Yves David |
branchcache: fix the copy code
|
Mon, 19 Feb 2024 13:11:42 +0100 |
Pierre-Yves David |
branchcache: pass a "verify_node" attribut to __init__ instead of hasnode
|
Mon, 19 Feb 2024 11:59:56 +0100 |
Pierre-Yves David |
branchcache: stop storing a repository instance on the cache altogether
|
Mon, 19 Feb 2024 11:43:19 +0100 |
Pierre-Yves David |
branchcache: pass the target repository when copying
|
Fri, 19 Jan 2024 11:30:10 +0100 |
Pierre-Yves David |
branchcache: have an explicit method to update the on disk cache
|
Mon, 04 Mar 2024 04:16:15 +0100 |
Pierre-Yves David |
config: move the option to mmap rev branch cache in the storage section
stable
|
Wed, 10 Jan 2024 18:58:42 +0000 |
Arseniy Alekseyev |
branchmap: use mmap for faster revbranchcache loading
|
Wed, 20 Dec 2023 22:17:03 +0100 |
Pierre-Yves David |
pytype: drop the now useless assert
|
Tue, 19 Dec 2023 21:29:34 +0100 |
Pierre-Yves David |
pytype: move some type comment to proper annotation
|
Wed, 20 Dec 2023 12:51:20 +0100 |
Pierre-Yves David |
pytype: import typing directly
|
Tue, 31 May 2022 03:06:05 +0200 |
Manuel Jacob |
py3: use `x.hex()` instead of `pycompat.sysstr(node.hex(x))`
|
Fri, 13 May 2022 15:19:57 +0200 |
Pierre-Yves David |
branchmap: use a context manager when writing the branchmap
|
Mon, 21 Feb 2022 13:08:28 -0700 |
Gregory Szorc |
py3: use class X: instead of class X(object):
|
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, 07 Feb 2022 13:24:30 +0300 |
Anton Shestakov |
branchmap: split a long condition in branchcache.validfor(), add comments
|
Sun, 06 Feb 2022 19:31:39 +0300 |
Anton Shestakov |
branchmap: don't add branch entries if there are no heads
|
Fri, 07 Jan 2022 11:53:23 +0300 |
Anton Shestakov |
branchmap: skip obsolete revisions while computing heads
|
Tue, 01 Feb 2022 15:19:50 +0100 |
Pierre-Yves David |
branchmap: stop writing cache for uncommitted data
stable
|
Fri, 07 May 2021 22:06:25 -0400 |
Matt Harbison |
merge with stable
|
Fri, 30 Apr 2021 16:13:02 -0700 |
Kyle Lippincott |
black: make codebase compatible with black v21.4b2 and v20.8b1
stable
|
Mon, 29 Mar 2021 01:52:06 +0200 |
Joerg Sonnenberger |
node: replace nullid and friends with nodeconstants class
|
Thu, 25 Mar 2021 18:02:08 +0100 |
Raphaël Gomès |
contributor: change mentions of mpm to olivia
|
Thu, 18 Mar 2021 18:24:59 -0400 |
Matt Harbison |
merge with stable
|
Wed, 13 Jan 2021 16:14:58 +0100 |
Joerg Sonnenberger |
node: introduce nodeconstants class
|
Thu, 11 Mar 2021 17:10:52 -0500 |
Matt Harbison |
branchmap: force Exception to bytes before logging
stable
|
Fri, 15 Jan 2021 01:58:59 +0100 |
Joerg Sonnenberger |
branchmap: update rev-branch-cache incrementally
|
Fri, 15 Jan 2021 01:20:47 +0100 |
Joerg Sonnenberger |
reverse-branch-cache: switch to doubling allocating scheme
|
Fri, 18 Dec 2020 14:45:28 +0100 |
Joerg Sonnenberger |
branchmap: avoid ancestor computations in absence of non-continous branches
|
Fri, 27 Nov 2020 17:03:29 -0500 |
Augie Fackler |
formating: upgrade to black 20.8b1
|
Fri, 06 Mar 2020 13:27:41 -0500 |
Augie Fackler |
cleanup: run pyupgrade on our source tree to clean up varying things
|
Mon, 10 Feb 2020 17:31:05 -0500 |
Augie Fackler |
cleanup: re-run black on the codebase
|
Tue, 19 Nov 2019 23:49:05 +0900 |
Yuya Nishihara |
typing: consolidate "if not globals():" trick
|
Thu, 14 Nov 2019 21:13:46 -0800 |
Martin von Zweigbergk |
branchmap: make "closed" a set from beginning instead of converting from list
|
Thu, 14 Nov 2019 13:13:36 -0500 |
Augie Fackler |
branchmap: annotate constructor type for branchcache
|
Thu, 14 Nov 2019 13:14:02 -0500 |
Augie Fackler |
branchmap: correctly set()-ify list argument
|
Fri, 08 Nov 2019 11:19:20 -0800 |
Augie Fackler |
cleanup: remove pointless r-prefixes on single-quoted strings
|
Wed, 06 Nov 2019 16:30:14 -0500 |
Augie Fackler |
branchmap: pytype is confused about bytestr
|
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 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
|
Fri, 12 Jul 2019 23:34:24 -0700 |
Martin von Zweigbergk |
py3: source-transform only call-sites of iteritems(), not definitions
|
Sun, 14 Jul 2019 23:21:28 -0700 |
Martin von Zweigbergk |
py3: fix formatting of branchmap log messages with repo.filtername=None
|
Sat, 27 Apr 2019 02:13:43 +0300 |
Pulkit Goyal |
branchcache: store the maximum tip in a variable inside for loop
|
Tue, 23 Apr 2019 15:49:17 -0400 |
Augie Fackler |
merge with stable
|
Sat, 20 Apr 2019 00:48:16 +0300 |
Pulkit Goyal |
revbranchcache: use context manager in _writerevs() to write to file
|
Sat, 20 Apr 2019 00:44:18 +0300 |
Pulkit Goyal |
revbranchcache: factor logic to write names and revs in separate functions
|
Fri, 19 Apr 2019 23:13:28 +0300 |
Pulkit Goyal |
branchcache: don't verify all nodes while writing
stable
|
Fri, 12 Apr 2019 15:41:32 +0200 |
Pierre-Yves David |
repoview: move subsettable in a dedicated module
|
Mon, 15 Apr 2019 19:21:41 +0300 |
Pulkit Goyal |
branchcache: lazily validate nodes in iteritems()
|
Tue, 16 Apr 2019 15:01:33 +0300 |
Pulkit Goyal |
branchcache: only iterate over branches which needs to be verified
|
Tue, 16 Apr 2019 14:48:48 +0300 |
Pulkit Goyal |
branchcache: fix the docstring of _verifybranch()
|
Tue, 16 Apr 2019 14:39:14 +0300 |
Pulkit Goyal |
branchcache: don't verify while creating a copy
|
Mon, 21 May 2018 17:28:35 +0200 |
Pierre-Yves David |
repoview: introduce a filter for serving hidden changesets
|
Fri, 05 Apr 2019 15:57:09 +0300 |
Pulkit Goyal |
branchcache: don't verify closed nodes in _branchtip()
|
Fri, 05 Apr 2019 15:56:33 +0300 |
Pulkit Goyal |
branchcache: don't verify closed nodes in iteropen()
|
Mon, 01 Apr 2019 13:56:47 +0300 |
Pulkit Goyal |
branchcache: lazily validate nodes from the branchmap
|
Tue, 19 Mar 2019 16:52:15 +0300 |
Pulkit Goyal |
branchcache: add functions to validate changelog nodes
|
Sun, 31 Mar 2019 16:27:10 +0300 |
Pulkit Goyal |
branchmap: implement __contains__()
|
Sun, 31 Mar 2019 16:20:17 +0300 |
Pulkit Goyal |
branchmap: prevent using __getitem__() in branchheads()
|
Wed, 27 Mar 2019 21:33:04 +0300 |
Pulkit Goyal |
branchmap: dynamically resolve type of branchcache class
|
Tue, 19 Mar 2019 16:26:52 +0300 |
Pulkit Goyal |
branchcache: have a hasnode function to validate nodes
|
Tue, 19 Mar 2019 16:20:02 +0300 |
Pulkit Goyal |
branchcache: add attributes to track which nodes are verified
|
Mon, 18 Mar 2019 19:44:55 +0300 |
Pulkit Goyal |
branchcache: make entries a private attribute
|
Mon, 18 Mar 2019 19:31:45 +0300 |
Pulkit Goyal |
branchcache: introduce hasbranch()
|
Mon, 18 Mar 2019 19:11:55 +0300 |
Pulkit Goyal |
branchmap: drop branchcache.setdefault() (API)
|
Mon, 18 Mar 2019 19:01:29 +0300 |
Pulkit Goyal |
branchcache: rename itervalues() to iterheads()
|
Mon, 18 Mar 2019 18:59:38 +0300 |
Pulkit Goyal |
branchmap: remove the dict interface from the branchcache class (API)
|
Sat, 02 Mar 2019 05:24:35 +0530 |
Pulkit Goyal |
py3: convert filtername to str if it's None
|
Tue, 26 Feb 2019 17:26:33 +0300 |
Pulkit Goyal |
branchmap: prevent reading the file twice through different iterators
|
Mon, 25 Feb 2019 16:49:01 +0300 |
Pulkit Goyal |
branchcache: move loading of branch names and nodes into it's own function
|
Wed, 20 Feb 2019 19:28:51 -0500 |
Augie Fackler |
cleanup: use () to wrap long lines instead of \
|
Mon, 11 Feb 2019 16:34:48 +0300 |
Pulkit Goyal |
branchmap: improve doc about BranchMapCache class
|
Mon, 11 Feb 2019 15:41:08 +0300 |
Pulkit Goyal |
branchmap: decode a label only once
|
Mon, 11 Feb 2019 15:34:35 +0300 |
Pulkit Goyal |
branchmap: move __init__ up in branchcache class
|
Mon, 21 Jan 2019 17:37:33 +0000 |
Martijn Pieters |
branchmap: encapsulate cache updating in the map itself
|
Mon, 21 Jan 2019 17:41:59 +0000 |
Martijn Pieters |
branchmap: add some clarifications and clean up flow
|
Mon, 21 Jan 2019 16:37:23 +0000 |
Martijn Pieters |
branchmap: updating triggers a write
|
Mon, 21 Jan 2019 16:04:48 +0000 |
Martijn Pieters |
branchmap: make branchcache responsible for reading
|
Mon, 21 Jan 2019 15:29:14 +0000 |
Martijn Pieters |
branchmap: rename partial -> bcache
|
Wed, 21 Nov 2018 17:17:26 +0300 |
Pulkit Goyal |
branchmap: build the revbranchcache._namesreverse() only when required
|