BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
106c443e
Commit
106c443e
authored
Apr 15, 2016
by
Robert Schilling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused backend methods
parent
c795ef07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
27 deletions
+0
-27
shell.rb
lib/gitlab/backend/shell.rb
+0
-27
No files found.
lib/gitlab/backend/shell.rb
View file @
106c443e
...
...
@@ -92,33 +92,6 @@ module Gitlab
'rm-project'
,
"
#{
name
}
.git"
])
end
# Add repository branch from passed ref
#
# path - project path with namespace
# branch_name - new branch name
# ref - HEAD for new branch
#
# Ex.
# add_branch("gitlab/gitlab-ci", "4-0-stable", "master")
#
def
add_branch
(
path
,
branch_name
,
ref
)
Gitlab
::
Utils
.
system_silent
([
gitlab_shell_projects_path
,
'create-branch'
,
"
#{
path
}
.git"
,
branch_name
,
ref
])
end
# Remove repository branch
#
# path - project path with namespace
# branch_name - branch name to remove
#
# Ex.
# rm_branch("gitlab/gitlab-ci", "4-0-stable")
#
def
rm_branch
(
path
,
branch_name
)
Gitlab
::
Utils
.
system_silent
([
gitlab_shell_projects_path
,
'rm-branch'
,
"
#{
path
}
.git"
,
branch_name
])
end
# Add repository tag from passed ref
#
# path - project path with namespace
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment