cola.guicmds – GUI Commands

class cola.guicmds.CommandWrapper(parent)
cola.guicmds.branch_delete()

Launch the ‘Delete Branch’ dialog.

cola.guicmds.branch_diff()

Diff against an arbitrary revision, branch, tag, etc.

cola.guicmds.browse_commits()

Launch the ‘Browse Commits’ dialog.

cola.guicmds.browse_current()

Launch the ‘Browse Current Branch’ dialog.

cola.guicmds.browse_other()

Prompt for a branch and inspect content at that point in time.

cola.guicmds.checkout_branch()

Launch the ‘Checkout Branch’ dialog.

cola.guicmds.cherry_pick()

Launch the ‘Cherry-Pick’ dialog.

cola.guicmds.choose_from_combo(title, items)

Quickly choose an item from a list using a combo box

cola.guicmds.choose_from_list(title, items=None, dblclick=None)

Quickly choose an item from a list using a list widget

cola.guicmds.clone_repo(spawn=True)

Present GUI controls for cloning a repository

A new cola session is invoked when ‘spawn’ is True.

cola.guicmds.diff_branch()

Launches a diff against a branch.

cola.guicmds.diff_expression()

Diff using an arbitrary expression.

cola.guicmds.export_patches()

Run ‘git format-patch’ on a list of commits.

cola.guicmds.fetch(parent)

Launch the ‘fetch’ remote dialog.

cola.guicmds.fetch_slot(parent)
cola.guicmds.goto_grep(line)

Called when Search -> Grep’s right-click ‘goto’ action.

cola.guicmds.grep()

Prompt and use ‘git grep’ to find the content.

cola.guicmds.install_command_wrapper(parent)
cola.guicmds.load_commitmsg(parent)

Load a commit message from a file.

cola.guicmds.load_commitmsg_slot(parent)
cola.guicmds.open_repo(parent)

Spawn a new cola session.

cola.guicmds.open_repo_slot(parent)
cola.guicmds.pull(parent)

Launch the ‘pull’ remote dialog.

cola.guicmds.pull_slot(parent)
cola.guicmds.push(parent)

Launch the ‘push’ remote dialog.

cola.guicmds.push_slot(parent)
cola.guicmds.rebase()

Rebase onto a branch.

cola.guicmds.review_branch()

Diff against an arbitrary revision, branch, tag, etc.

cola.guicmds.slot_with_parent(fn, parent)

Return an argument-less method for calling fn(parent=parent)

Parameters:
  • fn
    • Function reference, must accept ‘parent’ as a keyword
  • parent
    • Qt parent widget

Previous topic

cola.gitcmds – Helper commands for git

Next topic

cola.inotify – inotify helpers

This Page