Skip to content

delete branch when branch‘s name have "#" and "$" #779

Closed

Description

@sccdcwc

Description of the problem, including code/CLI snippet

When I delete the branch with "#" and "$" in the name,the result returned by the interface shows 404.
project = gl.projects.get(project_id) branch=project.branches.list(search=branch_name)[0] branch.delete()

Expected Behavior

The interface returns success to delete the branches.

Actual Behavior

Specifications

python-gitlab version:

API version you are using (v3/v4):
v4
Gitlab server version (or gitlab.com):
GitLab Community Edition 11.8.0

Activity

  1. changed the title [-]Del恩特[/-] [+]delete branch when branch‘s name have "#" and "$"[/+] on May 21, 2019
  2. added a commit that references this issue on Jun 8, 2019
    14f5385
  3. locked as resolved and limited conversation to collaborators on Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions