コード例 #1
0
ファイル: main.py プロジェクト: johnpaulett/git-cola
 def browse_other(self):
     """Prompt for a branch and inspect content at that point in time."""
     # Prompt for a branch to browse
     branch = choose_from_combo('Browse Revision...', gitcmds.all_refs())
     if not branch:
         return
     # Launch the repobrowser
     browse_git_branch(branch)
コード例 #2
0
ファイル: guicmds.py プロジェクト: kbielefe/git-cola
def browse_current():
    """Launch the 'Browse Current Branch' dialog."""
    from cola.controllers.repobrowser import browse_git_branch

    browse_git_branch(gitcmds.current_branch())
コード例 #3
0
ファイル: main.py プロジェクト: johnpaulett/git-cola
 def browse_current(self):
     """Launch the 'Browse Current Branch' dialog."""
     browse_git_branch(gitcmds.current_branch())