@@ -12,10 +12,10 @@ class Repos < API
1212 :Following => 'following' ,
1313 :Sources => 'sources' ,
1414 :Forks => 'forks' ,
15- :Commits => 'commits' ,
16- :Download => 'download' ,
17- :Webhooks => 'webhooks' ,
18- :PullRequest => 'pull_request'
15+ :Commits => 'commits' ,
16+ :Download => 'download' ,
17+ :Webhooks => 'webhooks' ,
18+ :PullRequest => 'pull_request'
1919
2020 DEFAULT_REPO_OPTIONS = {
2121 "website" => "" ,
@@ -93,7 +93,7 @@ def pull_request
9393 # repos = BitBucket::Repos.new
9494 # repos.branches 'user-name', 'repo-name'
9595 #
96- def branches ( user_name , repo_name , params = { } )
96+ def branches ( user_name , repo_name , params = { } )
9797 _update_user_repo_params ( user_name , repo_name )
9898 _validate_user_repo_params ( user , repo ) unless ( user? && repo? )
9999 normalize! params
@@ -105,6 +105,7 @@ def branches(user_name, repo_name, params={ })
105105
106106 alias :list_branches :branches
107107
108+ # FIXME: 'POST a new repository' is a deprecated feature of the API
108109 # Create a new repository for the authenticated user.
109110 #
110111 # = Parameters
@@ -188,6 +189,7 @@ def get(user_name, repo_name, params={ })
188189
189190 alias :find :get
190191
192+ # FIXME: 'DELETE an existing repository' is a deprecated feature of the API
191193 # Delete a repository
192194 #
193195 # = Examples
0 commit comments