cola.controllers.remote – Remote repository operations

This controller handles the remote dialog.

class cola.controllers.remote.ActionTask(sender, modelaction, remote, kwargs)
run()

Runs the model action and captures the result

class cola.controllers.remote.RemoteController(model, view, action)

Provides control for the remote-action dialog.

action

The current mode; one of fetch/push/pull

common_args()

Returns git arguments common to fetch/push/pulll

display_remotes(widget)

Display the available remotes in a listwidget

gen_remote_callback(modelaction)

Generates a Qt callback for fetch/push/pull.

update_local_branches(*rest)

Update the local/remote branch names when a branch is selected

update_remote_branches(*rest)

Update the remote branch name when a branch is selected

update_remotes(*rest)

Update the remote name when a remote from the list is selected

cola.controllers.remote.remote_action(parent, action)

Launches fetch/push/pull dialogs.

Previous topic

cola.controllers.options – Options and preferences

Next topic

cola.controllers.repobrowser – Repository browser

This Page