When using Mercurial as SCM, with pipelines and the "stash" and "unstash" step, Mercurial is creating two different caches, one on the master and another one on the agent.
The problem is that when we "stash", the pipeline only get the cache folder from the workspace. When we do an "unstash" the cache from workspace is recovered but there is some information in the master cache that is not recovered and this makes that the works fail.
Originally reported by jraezrus, imported from: Mercurial cache on stash and unstash is missing
- status: Open
- priority: Major
- component(s): mercurial-plugin
- resolution: Unresolved
- votes: 0
- watchers: 2
- imported: 20251216-225446
Raw content of original issue
When using Mercurial as SCM, with pipelines and the "stash" and "unstash" step, Mercurial is creating two different caches, one on the master and another one on the agent.
The problem is that when we "stash", the pipeline only get the cache folder from the workspace. When we do an "unstash" the cache from workspace is recovered but there is some information in the master cache that is not recovered and this makes that the works fail.
When using Mercurial as SCM, with pipelines and the "stash" and "unstash" step, Mercurial is creating two different caches, one on the master and another one on the agent.
The problem is that when we "stash", the pipeline only get the cache folder from the workspace. When we do an "unstash" the cache from workspace is recovered but there is some information in the master cache that is not recovered and this makes that the works fail.
Originally reported by jraezrus, imported from: Mercurial cache on stash and unstash is missing
Raw content of original issue