old_contents: import sublime
  from sublime_plugin import WindowCommand
  
  from ...common import util
  from ...core.git_command import GitCommand
  from ...core.ui_mixins.quick_panel import PanelCommandMixin
  from .. import github, git_mixins
  
  START_CREATE_MESSAGE = "Creating fork of {repo} ..."
  END_CREATE_MESSAGE = "Fork created successfully."
  
  
  __all__ = ['GsGithubCreateForkCommand']
  
  
  class GsGithubCreateForkCommand(
      WindowCommand,
      PanelCommandMixin,
      git_mixins.GithubRemotesMixin,
      GitCommand,
  ):
      """
      Get list of repos on GitHub associated with the active repo.  Display, and when
      selected, add selection as git remote.
      """
      def run(self):
          sublime.set_timeout_async(self.run_async, 0)
  
      def run_async(self):
          base_remote = github.parse_remote(self.get_integrated_remote_url())
          self.window.status_message(START_CREATE_MESSAGE.format(repo=base_remote))
          result = github.create_fork(base_remote)
          self.clone_url = result["clone_url"] if "clone_url" in result else None
          self.ssh_url = result["ssh_url"] if "ssh_url" in result else None
          self.window.status_message(END_CREATE_MESSAGE)
          util.debug.add_to_log(("github: fork result:\n{}".format(result)))
          self.window.show_quick_panel(
              ["Add fork as remote?",
               self.clone_url,
               self.ssh_url],
              self.on_select_action
          )
  
      def on_select_action(self, idx):
          if idx == 0:
              return
          elif idx == 1:
              self.window.run_command("gs_remote_add", {"url": self.clone_url})
          elif idx == 2:
              self.window.run_command("gs_remote_add", {"url": self.ssh_url})
  
new_contents: import sublime
  from sublime_plugin import WindowCommand
  
  from ...common import util
  from ...core.git_command import GitCommand
  from ...core.ui_mixins.quick_panel import PanelCommandMixin
  from .. import github, git_mixins
  
  START_CREATE_MESSAGE = "Forking {repo} ..."
  END_CREATE_MESSAGE = "Fork created successfully."
  
  
  __all__ = ['GsGithubCreateForkCommand']
  
  
  class GsGithubCreateForkCommand(
      WindowCommand,
      PanelCommandMixin,
      git_mixins.GithubRemotesMixin,
      GitCommand,
  ):
      """
      Get list of repos on GitHub associated with the active repo.  Display, and when
      selected, add selection as git remote.
      """
      def run(self):
          sublime.set_timeout_async(self.run_async, 0)
  
      def run_async(self):
          base_remote = github.parse_remote(self.get_integrated_remote_url())
          self.window.status_message(START_CREATE_MESSAGE.format(repo=base_remote.url))
          result = github.create_fork(base_remote)
          self.clone_url = result["clone_url"] if "clone_url" in result else None
          self.ssh_url = result["ssh_url"] if "ssh_url" in result else None
          self.window.status_message(END_CREATE_MESSAGE)
          util.debug.add_to_log(("github: fork result:\n{}".format(result)))
          self.window.show_quick_panel(
              ["Add fork as remote?",
               self.clone_url,
               self.ssh_url],
              self.on_select_action
          )
  
      def on_select_action(self, idx):
          if idx == 0:
              return
          elif idx == 1:
              self.window.run_command("gs_remote_add", {"url": self.clone_url})
          elif idx == 2:
              self.window.run_command("gs_remote_add", {"url": self.ssh_url})
  
subject: Fix status message when forking