By looking at the previous snapshot heads, loading of an unchanged repository
will be uneventful.
Details
- Reviewers
douardda acezar ardumont - Group Reviewers
Reviewers - Commits
- rDLDHG04a1213f3679: HgLoaderFromDisk: uneventful load when unchanged
Diff Detail
- Repository
- rDLDHG Mercurial loader
- Branch
- arcpatch-D4643
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 19506 Build 30260: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 30259: arc lint + arc unit
Event Timeline
Build is green
Patch application report for D4643 (id=16475)
Rebasing onto 4bf91cff72...
Current branch diff-target is up to date.
Changes applied before test
commit b9af2e3ea95319e2a28eb6c535dd9c9bc291a71a Author: Antoine Cezar <antoine.cezar@octobus.net> Date: Mon Nov 30 14:29:47 2020 +0100 Make loading an unchanged repository uneventful By looking at the previous snapshot heads, loading of an unchanged repository will be uneventful.
See https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/132/ for more details.
Followup
swh/loader/mercurial/from_disk.py | ||
---|---|---|
258 | Was not sure __bool__ / __nonzero__ was implemented by the class |
Build was aborted
Patch application report for D4643 (id=16565)
Rebasing onto 4bf91cff72...
Current branch diff-target is up to date.
Changes applied before test
commit 7af11ca8dcaaec1b65250bfbdb9a9d43d3c588cf Author: Antoine Cezar <antoine.cezar@octobus.net> Date: Mon Nov 30 14:29:47 2020 +0100 HgLoaderFromDisk: uneventful load when unchanged By looking at the previous snapshot heads, loading of an unchanged repository will be uneventful.
Link to build: https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/134/
See console output for more information: https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/134/console
Build has FAILED
Patch application report for D4643 (id=18418)
Rebasing onto d8572187e9...
Current branch diff-target is up to date.
Changes applied before test
commit 7a8328ef77cd9ba179e6767602dfc69bfef395ab Author: Antoine Cezar <antoine.cezar@octobus.net> Date: Thu Feb 25 17:35:32 2021 +0100 HgLoaderFromDisk: uneventful load when unchanged Summary: By looking at the previous snapshot heads, loading of an unchanged repository will be uneventful. Reviewers: #reviewers, douardda Reviewed By: #reviewers, douardda Subscribers: douardda Differential Revision: https://forge.softwareheritage.org/D4643
Link to build: https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/168/
See console output for more information: https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/168/console
Build is green
Patch application report for D4643 (id=18426)
Rebasing onto d8572187e9...
Current branch diff-target is up to date.
Changes applied before test
commit d6a7b44fa33ad769d5670f79d7aa53691f43f415 Author: Antoine Cezar <antoine.cezar@octobus.net> Date: Thu Feb 25 17:35:32 2021 +0100 HgLoaderFromDisk: uneventful load when unchanged Summary: By looking at the previous snapshot heads, loading of an unchanged repository will be uneventful. Reviewers: #reviewers, douardda Reviewed By: #reviewers, douardda Subscribers: douardda Differential Revision: https://forge.softwareheritage.org/D4643
See https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/169/ for more details.
swh/loader/mercurial/tests/test_from_disk.py | ||
---|---|---|
251 | swh_config is no longer needed since you inject the swh_storage instance into the loader now. |
for the sake of my question, remark ;)
swh/loader/mercurial/from_disk.py | ||
---|---|---|
204 | can't we make that one for comprehension instead of 2? self._latest_heads = [ hash_to_bytes(revision.metadata["node"]) for revision in self.storage.revision_get(snapshot_branches) if revision and revision.metadata ] |
swh/loader/mercurial/from_disk.py | ||
---|---|---|
195–204 | same proposal with the diff format... (neat trick) the phabricator suggestion edit. |
swh/loader/mercurial/from_disk.py | ||
---|---|---|
204 | Much better, thanks. I saw the patch was accepted and just rebased it, I should have paid more attention. :) |
Build is green
Patch application report for D4643 (id=18427)
Rebasing onto d8572187e9...
Current branch diff-target is up to date.
Changes applied before test
commit 00b221eaa5aa4f326150ccb3a29259dfafd0eb6f Author: Antoine Cezar <antoine.cezar@octobus.net> Date: Thu Feb 25 17:35:32 2021 +0100 HgLoaderFromDisk: uneventful load when unchanged Summary: By looking at the previous snapshot heads, loading of an unchanged repository will be uneventful. Reviewers: #reviewers, douardda Reviewed By: #reviewers, douardda Subscribers: douardda Differential Revision: https://forge.softwareheritage.org/D4643
See https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/170/ for more details.
Build is green
Patch application report for D4643 (id=18430)
Rebasing onto 1dbb8474ad...
Current branch diff-target is up to date.
Changes applied before test
commit 47c712ecd233611547e64c19783727c6e302bda1 Author: Antoine Cezar <antoine.cezar@octobus.net> Date: Thu Feb 25 17:35:32 2021 +0100 HgLoaderFromDisk: uneventful load when unchanged Summary: By looking at the previous snapshot heads, loading of an unchanged repository will be uneventful. Reviewers: #reviewers, douardda Reviewed By: #reviewers, douardda Subscribers: douardda Differential Revision: https://forge.softwareheritage.org/D4643
See https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/172/ for more details.
Build is green
Patch application report for D4643 (id=18434)
Rebasing onto 1dbb8474ad...
Current branch diff-target is up to date.
Changes applied before test
commit 04a1213f3679e7bb1cb3f8cfcc1e7573a60b2419 Author: Antoine Cezar <antoine.cezar@octobus.net> Date: Thu Feb 25 17:35:32 2021 +0100 HgLoaderFromDisk: uneventful load when unchanged Summary: By looking at the previous snapshot heads, loading of an unchanged repository will be uneventful. Reviewers: #reviewers, douardda Reviewed By: #reviewers, douardda Subscribers: douardda Differential Revision: https://forge.softwareheritage.org/D4643
See https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/174/ for more details.