Skip to content
Browse files

Add "repo branch" as an alias for "repo branches"

For those of us that are used to typing "git branch".

Signed-off-by: Mike Lockwood <lockwood@android.com>
  • Loading branch information...
1 parent 57272ba commit 33f0e786bb35ea11da1e3d1746c431da5f1d93eb @mikeandroid mikeandroid committed Jul 14, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 main.py
View
2 main.py
@@ -59,6 +59,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

0 comments on commit 33f0e78

Please sign in to comment.
Something went wrong with that request. Please try again.