Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • heptapod heptapod
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 161
    • Issues 161
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • heptapod
  • heptapodheptapod
  • Issues
  • #310

Closed
Open
Created Jun 26, 2020 by Georges Racinet@gracinet🦑Owner

Pull problem seemingly related to subrepos

This is actually in the import for foss.heptapod.net#62 (closed), but it looks as if any pull would trigger it

  File "/home/hg/venv3/lib/python3.8/site-packages/hgext3rd/heptapod/git.py", line 649, in export_commits
    self.export_git_objects()
  File "/home/hg/venv3/lib/python3.8/site-packages/hggit/git_handler.py", line 530, in export_git_objects
    self.export_hg_commit(ctx.node(), exporter)
  File "/home/hg/venv3/lib/python3.8/site-packages/hggit/git_handler.py", line 605, in export_hg_commit
    for obj, nodeid in exporter.update_changeset(ctx):
  File "/home/hg/venv3/lib/python3.8/site-packages/hggit/hg2git.py", line 217, in update_changeset
    subadded, subremoved = self._handle_subrepos(newctx)
  File "/home/hg/venv3/lib/python3.8/site-packages/hggit/hg2git.py", line 382, in _handle_subrepos
    newsub, newsubstate = parse_subrepos(newctx)
  File "/home/hg/venv3/lib/python3.8/site-packages/hggit/hg2git.py", line 24, in parse_subrepos
    sub = util.parse_hgsub(ctx[b'.hgsub'].data().splitlines())
  File "/home/hg/venv3/lib/python3.8/site-packages/hggit/util.py", line 33, in parse_hgsub
    name, value = l.split(b'=', 1)
ValueError: not enough values to unpack (expected 2, got 1)

Can't tell more until I've reproduced on my workstation (which seems likely)

Edited Jun 26, 2020 by Georges Racinet
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking