Clone tryton respository with bundle fails

Thank you!

When I cloned the repo, and then run hg status, I get this error:

skipping unreadable pattern file '.hgignore-modules': No such file or directory
abort: 00manifest@b34e9d3e48bee9275cc3f4bd9ddde61eddd9e4c0: no node

I deleted the repo and cloned again, with the same result.

Any idea how to fix or work around this?

I tried hg verify, which results in a lot of errors:

...
 .gitlab-ci.yml@95749: 5c54519bca99 not in manifests
 .gitlab-ci.yml@95750: 1c91e8848281 not in manifests
 .gitlab-scripts/generate-ci.py@94347: 58135ff93b60 not in manifests
 .gitlab-scripts/generate-ci.py@94587: 8cff6744db08 not in manifests
 .gitlab-scripts/generate-ci.py@94589: ed5c95c84a36 not in manifests
...

Hi Bob,

best is to follow the README of the repository for setting up the development environment.
As a quick workaround you can add an empty .hgignore-modules file in the root path of the repository:

touch tryton/.hgignore-modules

The .hgignore-modules is not really the issue. Something is wrong with the repo, the abort message is the culprit of it. Guess something happened.

Yes, possible. Cloning works for me and looks like this:

hg clone https://foss.heptapod.net/tryton/tryton
destination directory: tryton
applying clone bundle from https://cellar-c2.services.clever-cloud.com/heptapod-foss-clonebundles/tryton/tryton-2022-12-18-zstd-v2.hg
adding changesets
adding manifests                                                                                                                                                              
adding file changes                                                                                                                                                           
added 94344 changesets with 217774 changes to 19016 files (+4 heads)                                                                                                          
finished applying clone bundle
searching for changes
adding changesets                                                                                                                                                             
adding manifests                                                                                                                                                              
adding file changes
added 2323 changesets with 8726 changes to 3680 files (+69 heads)
2954 new obsolescence markers
obsoleted 1 changesets
new changesets cadf5382d26f:841be40b2b98 (148 drafts)
94343 local changesets published
updating to branch default
11673 files updated, 0 files merged, 0 files removed, 0 files unresolved

You need also the mercurial extension hg-evolve · PyPI activated.

If it doesn’t work you maybe can use the --stream option:

hg clone https://foss.heptapod.net/tryton/tryton --stream

Also, I can reproduce the issue:

hg stat -R tryton
skipping unreadable pattern file '.hgignore-modules': No such file or directory

It comes from the .hgignore and is intentional, as the steps in the README are expected to set up the environment.

1 Like
❯ rm -rf tryton
❯ hg clone https://foss.heptapod.net/tryton/tryton
destination directory: tryton
applying clone bundle from https://cellar-c2.services.clever-cloud.com/heptapod-foss-clonebundles/tryton/tryton-2022-12-18-zstd-v2.hg
adding changesets
adding manifests
adding file changes
added 94344 changesets with 217774 changes to 19016 files (+4 heads)
finished applying clone bundle
searching for changes
adding changesets
adding manifests
adding file changes
added 2324 changesets with 8731 changes to 3680 files (+70 heads)
2954 new obsolescence markers
obsoleted 1 changesets
new changesets cadf5382d26f:6f84310f7662 (149 drafts)
94343 local changesets published
updating to branch default
11673 files updated, 0 files merged, 0 files removed, 0 files unresolved
❯ cat ~/.hgrc
[ui]
username = Hodei Navarro <hodei.navarro@outlook.com>
tweakdefaults = True
color = auto
ignore = $HOME/.hgignore
[extensions]
evolve =
topic =
❯ pip show hg-evolve
Name: hg-evolve
Version: 11.0.1
Summary: Flexible evolution of Mercurial history.
Home-page: https://www.mercurial-scm.org/doc/evolution/
Author: Pierre-Yves David
Author-email: pierre-yves.david@ens-lyon.org
License: GPLv2+
Location: /opt/homebrew/lib/python3.11/site-packages
Requires:
Required-by:
❯ hg stat -R tryton
skipping unreadable pattern file '.hgignore-modules': No such file or directory
abort: 00manifest@b34e9d3e48bee9275cc3f4bd9ddde61eddd9e4c0: no node

--stream did the trick for me!

Thanks for your help.

I installed the hg-evolve extension, and configured it in ~/.hgrc, but I still had the error abort: 00manifest@b34e9d3e48bee9275cc3f4bd9ddde61eddd9e4c0: no node afterwards.

1 Like

Yeah, same.

--stream does the trick.

Very weird tho… Maybe it get’s automatically fixed whenever the cache from clever-cloud.com refreshes, we’ll see.

I reported the issue: Clone tryton/tryton repository result in invalid local repository (#220) · Issues · heptapod / FOSS public instance · GitLab

1 Like

Updating to mercurial to 6.4.4 fix the issue.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.