Mercurial > hg
annotate hgext/narrow/TODO.rst @ 50569:fca08dd6223d
safehasattr: pass attribute name as string instead of bytes
This is a step toward replacing `util.safehasattr` usage with plain `hasattr`.
The builtin function behave poorly in Python2 but this was fixed in Python3.
These change are done one by one as they tend to have a small odd to trigger
puzzling breackage.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 02 Feb 2023 17:23:37 +0100 |
parents | ce0bc2952e2a |
children |
rev | line source |
---|---|
39771
a063786c89fb
narrow: remove narrowrevlog
Gregory Szorc <gregory.szorc@gmail.com>
parents:
39544
diff
changeset
|
1 Address commentary in manifest.excludedmanifestrevlog.add - |
36104 | 2 specifically we should improve the collaboration with core so that |
3 add() never gets called on an excluded directory and we can improve | |
4 the stand-in to raise a ProgrammingError. | |
5 | |
6 Reason more completely about rename-filtering logic in | |
7 narrowfilelog. There could be some surprises lurking there. | |
8 | |
40080
56d4f88530fc
narrow: update TODO.rst now that we share format with sparse
Martin von Zweigbergk <martinvonz@google.com>
parents:
40079
diff
changeset
|
9 Formally document the narrowspec format. For bonus points, unify with the |
56d4f88530fc
narrow: update TODO.rst now that we share format with sparse
Martin von Zweigbergk <martinvonz@google.com>
parents:
40079
diff
changeset
|
10 server-specified narrowspec format. |
36104 | 11 |
12 narrowrepo.setnarrowpats() or narrowspec.save() need to make sure | |
13 they're holding the wlock. | |
40087
1d09ba0d2ed3
narrow: move remaining narrow-limited dirstate walks to core
Martin von Zweigbergk <martinvonz@google.com>
parents:
40080
diff
changeset
|
14 |
1d09ba0d2ed3
narrow: move remaining narrow-limited dirstate walks to core
Martin von Zweigbergk <martinvonz@google.com>
parents:
40080
diff
changeset
|
15 The follinwg places do an unrestricted dirstate walk (including files outside the |
1d09ba0d2ed3
narrow: move remaining narrow-limited dirstate walks to core
Martin von Zweigbergk <martinvonz@google.com>
parents:
40080
diff
changeset
|
16 narrowspec). Some of them should perhaps not do that. |
1d09ba0d2ed3
narrow: move remaining narrow-limited dirstate walks to core
Martin von Zweigbergk <martinvonz@google.com>
parents:
40080
diff
changeset
|
17 |
1d09ba0d2ed3
narrow: move remaining narrow-limited dirstate walks to core
Martin von Zweigbergk <martinvonz@google.com>
parents:
40080
diff
changeset
|
18 * debugfileset |
1d09ba0d2ed3
narrow: move remaining narrow-limited dirstate walks to core
Martin von Zweigbergk <martinvonz@google.com>
parents:
40080
diff
changeset
|
19 * perfwalk |
1d09ba0d2ed3
narrow: move remaining narrow-limited dirstate walks to core
Martin von Zweigbergk <martinvonz@google.com>
parents:
40080
diff
changeset
|
20 * sparse (but restricted to sparse config) |
1d09ba0d2ed3
narrow: move remaining narrow-limited dirstate walks to core
Martin von Zweigbergk <martinvonz@google.com>
parents:
40080
diff
changeset
|
21 * largefiles |