Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Add "repo branch" as an alias for "repo branches"
Browse files Browse the repository at this point in the history
For those of us that are used to typing "git branch".

Signed-off-by: Mike Lockwood <lockwood@android.com>
(cherry picked from commit 33f0e78)
  • Loading branch information
mikeandroid authored and spearce committed Jan 10, 2011
1 parent f00e0ce commit 2bf9db0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.py
Expand Up @@ -61,6 +61,8 @@ class _Repo(object):
def __init__(self, repodir):
self.repodir = repodir
self.commands = all_commands
# add 'branch' as an alias for 'branches'
all_commands['branch'] = all_commands['branches']

def _Run(self, argv):
name = None
Expand Down

0 comments on commit 2bf9db0

Please sign in to comment.