From 33f0e786bb35ea11da1e3d1746c431da5f1d93eb Mon Sep 17 00:00:00 2001 From: Mike Lockwood Date: Tue, 14 Jul 2009 15:23:39 -0400 Subject: [PATCH] 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 --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index a60641d7..2cc7e447 100755 --- a/main.py +++ b/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