   onDidChangeStatuses: (callback) ->
     @emitter.on 'did-change-statuses', callback
 
-  on: (eventName) ->
-    switch eventName
-      when 'status-changed'
-        deprecate 'Use GitRepository::onDidChangeStatus instead'
-      when 'statuses-changed'
-        deprecate 'Use GitRepository::onDidChangeStatuses instead'
-      else
-        deprecate 'GitRepository::on is deprecated. Use event subscription methods instead.'
-    EmitterMixin::on.apply(this, arguments)
-
   ###
   Section: Repository Details
   ###

{Emitter, Disposable, CompositeDisposable} = require 'event-kit'
fs = require 'fs-plus'
GitUtils = require 'git-utils'
{deprecate} = require 'grim'

Task = require './task'


      unless statusesUnchanged
        @emit 'statuses-changed'
        @emitter.emit 'did-change-statuses'

if includeDeprecations
  GitRepository::on = (eventName) ->
    switch eventName
      when 'status-changed'
        deprecate 'Use GitRepository::onDidChangeStatus instead'
      when 'statuses-changed'
        deprecate 'Use GitRepository::onDidChangeStatuses instead'
      else
        deprecate 'GitRepository::on is deprecated. Use event subscription methods instead.'
    EmitterMixin::on.apply(this, arguments)

  GitRepository::getOriginUrl = (path) ->
    deprecate 'Use ::getOriginURL instead.'
    @getOriginURL(path)
