WeblateOrg / WeblateOrg/weblate

Mercurial VCS won't push to different branch

Open
#4,685 3 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue Waiting for: Demand
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

**Describe the bug**

I created new component, which is using mercurial VCS and supposed to pull from default branch and push translations to new branch. This doesn't work, "Push branch" option in Weblate is ignored and Weblate is always pushing to the default repository branch defined in Weblate as "Repository branch".

**To Reproduce**

Steps to reproduce the behavior:

1. Create any new repository with remote VCS containing at least 2 mercurial branches
2. Setup "Repository branch" as "default"
3. Setup "Push branch" as anything else than default
4. Translate/create a commit

**Expected behavior**

Weblate should follow the settings and pull from "Repository branch" and push to given "Push branch" in the settings, in case the push branch doesn't exist, it should create it with the push.

**Server configuration and status**

* Weblate: 4.2.2
* Mercurial: 4.8.2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.