Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • thg thg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 829
    • Issues 829
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mercurial
  • TortoiseHg
  • thgthg
  • Issues
  • #5325
Closed
Open
Created Feb 03, 2019 by Bitbucket Importer@bitbucket_importerOwner

How do I bundle Mercurial on Linux?

Created originally on Bitbucket by Andrei Dziahel

I'm a maintainer of Mercurial and TortoiseHG packages for OpenSUSE. Currently TortoiseHG depends on Mercurial of current and previous version, hence the upper bound requirement in the package spec, like this:

Requires:       mercurial < 4.9
Requires:       mercurial >= 4.8

Unfortunately that prevents users from installing new Mercurial when TortoiseHG haven't been updated yet. True, it actually depends on the version of TortoiseHG package I'm maintaining, but sometimes, when TortoiseHG release lags behind Mercurial release, there's nothing to build a package from, right?

Removing the upper bound requirement is also not a way out, since upgraded Mercurial renders TortoiseHG unusable.

So here's the question: how do I bundle Mercurial into a Linux build, so THG would not depend on system Mercurial installation and would function even in case of system Mercurial upgrade to incompatible version? I know it is already done on Windows, can we have it on Linux too?

Thank you in advance.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking