예제 #1
0
 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
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
 def browse_current(self):
     """Launch the 'Browse Current Branch' dialog."""
     browse_git_branch(gitcmds.current_branch())