D6943: upgrade: allow for `sidedata` removal

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute updated this revision to Diff 16774. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6943?vs=16746=16774 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6943/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6943 AFFECTED FILES

D6942: upgrade: allow upgrade to repository using sidedata

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute updated this revision to Diff 16773. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6942?vs=16745=16773 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6942/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6942 AFFECTED FILES

D6939: sidedata: apply basic but tight security around exchange

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute updated this revision to Diff 16771. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6939?vs=16742=16771 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6939/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6939 AFFECTED FILES

D6941: revlog: add a way to control sidedata changes during revlog.clone

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute updated this revision to Diff 16772. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6941?vs=16744=16772 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6941/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6941 AFFECTED FILES

mercurial@43027: 8 new changesets

2019-10-01 Thread Mercurial Commits
8 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/f3bcae1e9e23 changeset: 43020:f3bcae1e9e23 user:Pierre-Yves David date:Thu Sep 26 23:43:32 2019 +0200 summary: copies: expand the logic of usechangesetcentricalgo

D6897: sidedata: add a debugsidedata command

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHG559ac8411f12: sidedata: add a debugsidedata command (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6897?vs=16655=16769 CHANGES SINCE

D6898: sidedata: check that the sidedata safely roundtrip

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHG03e769278ef3: sidedata: check that the sidedata safely roundtrip (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6898?vs=16656=16770

D6895: sidedata: make sure we don't use the flag if there are not sidedata

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHG7902001aaf41: sidedata: make sure we dont use the flag if there are not sidedata (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D6896: sidedata: test we can successfully write sidedata

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHGba4072c0a911: sidedata: test we can successfully write sidedata (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6896?vs=16654=16768

D6894: revlog: add the appropriate flag is sidedata are passed to `addrevision`

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHG7bb5a2465501: revlog: add the appropriate flag is sidedata are passed to `addrevision` (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D6893: sidedata: register the flag processors if the repository allows for it

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHG142deb539ccf: sidedata: register the flag processors if the repository allows for it (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D6886: sidedata: introduce a new requirement to protect the feature

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHG827cb4fe62a3: sidedata: introduce a new requirement to protect the feature (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D6890: sidedata: add a function to read sidedata from revlog raw text

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHG294afb982a88: sidedata: add a function to read sidedata from revlog raw text (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D6887: upgrade: detect the side-data format variants

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHGe16ca9fde7aa: upgrade: detect the side-data format variants (authored by marmoute). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY rHG Mercurial CHANGES

D6892: sidedata: add a function for _processflagsraw usage

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHGe8bc4c3d9a0b: sidedata: add a function for _processflagsraw usage (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6892?vs=16650=16764

D6935: vfs: give all vfs an options attribute by default

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHG3518da504303: vfs: give all vfs an options attribute by default (authored by marmoute). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY rHG Mercurial

D6936: copies: prepare changelog for more copies storage mode

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHG0b87eb2fba67: copies: prepare changelog for more copies storage mode (authored by marmoute). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY rHG Mercurial

D6934: revlog: explicitly set revlogv0 in vfs options

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHG188476e48f51: revlog: explicitly set revlogv0 in vfs options (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6934?vs=16748=16754 CHANGES

D6933: context: clarify the various mode in the _copies property cache

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHG8af909893188: context: clarify the various mode in the _copies property cache (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D6932: context: clarify the various mode in the filesremoved method

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHG15badd621825: context: clarify the various mode in the filesremoved method (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D6931: context: clarify the various mode in the filesadded method

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHG008e74b34fb7: context: clarify the various mode in the filesadded method (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D6930: copies: expand the logic of usechangesetcentricalgo

2019-10-01 Thread marmoute (Pierre-Yves David)
Closed by commit rHGf3bcae1e9e23: copies: expand the logic of usechangesetcentricalgo (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6930?vs=16727=16750

D6934: revlog: explicitly set revlogv0 in vfs options

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute updated this revision to Diff 16748. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6934?vs=16731=16748 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6934/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6934 AFFECTED FILES

D6934: revlog: explicitly set revlogv0 in vfs options

2019-10-01 Thread martinvonz (Martin von Zweigbergk)
martinvonz added inline comments. INLINE COMMENTS > revlog.py:367-369 > # If options provided but no 'revlog*' found, the repository > # would have no 'requires' file in it, which means we have to > # stick to the old format. Needs updating REPOSITORY

D6933: context: clarify the various mode in the _copies property cache

2019-10-01 Thread martinvonz (Martin von Zweigbergk)
martinvonz added inline comments. INLINE COMMENTS > context.py:502-504 > +# Otherwise (config said to read only from filelog, or we are in > +# compatiblity mode and there is not data in the changeset), we > get > +# the copy metadata from the filelogs. This

D6943: upgrade: allow for `sidedata` removal

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY If the side-date feature is removed, we need to drop them. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6943 AFFECTED

D6939: sidedata: apply basic but tight security around exchange

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We don't currently have code to deal with exchange between repository using sidedata and repository not using sidedata. Until we implement such code (eg:

D6942: upgrade: allow upgrade to repository using sidedata

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Repository can now be migrated to support sidedata. More requirements and migration will be needed to actual side-data usage. This is a step in that

D6941: revlog: add a way to control sidedata changes during revlog.clone

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: indygreg. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We introduce a new argument to pass a callable dealing with the side data logic. Since the side data are usually associated

D6940: sidedata: use only changegroup3 if sidedata is in use

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is necessary to exchange the flags over the wire (and within bundles). REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6940

D6886: sidedata: introduce a new requirement to protect the feature

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute updated this revision to Diff 16735. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6886?vs=16644=16735 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6886/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6886 AFFECTED FILES

D6895: sidedata: make sure we don't use the flag if there are not sidedata

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute updated this revision to Diff 16740. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6895?vs=16660=16740 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6895/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6895 AFFECTED FILES

D6894: revlog: add the appropriate flag is sidedata are passed to `addrevision`

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute updated this revision to Diff 16739. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6894?vs=16659=16739 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6894/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6894 AFFECTED FILES

D6938: changegroup: use positive logic for treemanifest changegroup3 logic

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We are about to add more cases, in that context, it is simpler to avoid double negative. En addition, We document the situation for the next soul.

D6893: sidedata: register the flag processors if the repository allows for it

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute updated this revision to Diff 16738. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6893?vs=16658=16738 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6893/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6893 AFFECTED FILES

D6890: sidedata: add a function to read sidedata from revlog raw text

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute updated this revision to Diff 16737. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6890?vs=16657=16737 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6890/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6890 AFFECTED FILES

D6887: upgrade: detect the side-data format variants

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute updated this revision to Diff 16736. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6887?vs=16713=16736 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6887/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6887 AFFECTED FILES

mercurial@43019: 35 new changesets

2019-10-01 Thread Mercurial Commits
35 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/bd5858c28bbe changeset: 42985:bd5858c28bbe user:Pierre-Yves David date:Wed Sep 04 00:34:03 2019 +0200 summary: flagprocessors: have the read transform function return side data (API)

D6935: vfs: give all vfs an options attribute by default

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. marmoute added reviewers: martinvonz, durin42. Herald added a reviewer: indygreg. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Multiple code path assume vfs have an options attribute, including the vfs

D6936: copies: prepare changelog for more copies storage mode

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. marmoute added reviewers: martinvonz, durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We want to store copies information in sidedata, the logic will be quite similar to the one used for extra, but

D6937: copies: move file input processsing early

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. marmoute added reviewers: martinvonz, durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY If we are to store the same kind of data outside of extra, we need to explicitly prepare them before that.

D6932: context: clarify the various mode in the filesremoved method

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. marmoute added reviewers: martinvonz, durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The previous code was compact but a bit dense. The new proposed code deal with each mode separately, there are

D6931: context: clarify the various mode in the filesadded method

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. marmoute added reviewers: martinvonz, durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The previous code was compact but a bit dense. The new proposed code deal with each mode separately, there are

D6930: copies: expand the logic of usechangesetcentricalgo

2019-10-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. marmoute added reviewers: martinvonz, durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Using intermediate variable is clearer and will make is simple to expand the logic. REPOSITORY rHG Mercurial