Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !5361

Closed
Created 11 years ago by Administrator@rootOwner
  • Report abuse
Report abuse

fix error with @-sign in branch names

  • Overview 1
  • Commits 1
  • Changes 1

Created by: katafrakt

A branch with @-sign in name caused gitlab to crash with 404 error and message

ActionController::RoutingError (No route matches {:controller=>"projects/refs", :action=>"logs_tree", :project_id=>#<Project id: 6, name: "framework", path: "framework", description: "", created_at: "2013-10-17 08:44:38", updated_at: "2013-10-18 08:48:54", creator_id: 4, default_branch: "master", issues_enabled: false, wall_enabled: false, merge_requests_enabled: true, wiki_enabled: false, namespace_id: 5, public: true, issues_tracker: "gitlab", issues_tracker_id: nil, snippets_enabled: false, last_activity_at: "2013-10-18 08:49:22", imported: false, import_url: "">, :id=>"v_1_2@25785", :path=>""}):
  lib/extracts_path.rb:112:in `assign_ref_vars'

or

ActionController::RoutingError (No route matches {:action=>"destroy", :controller=>"projects/branches", :project_id=>#<Project id: 6, name: "framework", path: "framework", description: "", created_at: "2013-10-17 08:44:38", updated_at: "2013-10-18 08:48:54", creator_id: 4, default_branch: "master", issues_enabled: false, wall_enabled: false, merge_requests_enabled: true, wiki_enabled: false, namespace_id: 5, public: true, issues_tracker: "gitlab", issues_tracker_id: nil, snippets_enabled: false, last_activity_at: "2013-10-18 08:49:22", imported: false, import_url: "">, :id=>"v_1_0@24788"}):
  app/views/projects/branches/_branch.html.haml:21:in `_app_views_projects_branches__branch_html_haml__473762803366803937_69933361931140'
  app/views/projects/branches/recent.html.haml:8:in `block in _app_views_projects_branches_recent_html_haml__1833156651968247551_69933359948360'
  app/views/projects/branches/recent.html.haml:7:in `each'
  app/views/projects/branches/recent.html.haml:7:in `_app_views_projects_branches_recent_html_haml__1833156651968247551_69933359948360'

Such branches are created by git-svn. See: http://stackoverflow.com/questions/11356901/git-svn-clone-spurious-branches

Spotted on 6-1-stable.

Loading
Loading

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
Assign to
0 Reviewers
Request review from
Milestone
No milestone
None
None
Time tracking
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Lock merge request
Unlocked
participants
Reference:
Source branch: github/fork/PuzzleFlow/branch_name_with_@

    0 pending comments

Menu

Projects Groups Snippets
Help