createbranch: allow "/" in remote names
commit34d68536839fcd809c70fc0041c74c85a584fa4d
authorDavid Aguilar <davvid@gmail.com>
Sat, 12 Sep 2015 03:46:40 +0000 (11 20:46 -0700)
committerDavid Aguilar <davvid@gmail.com>
Sat, 12 Sep 2015 03:46:40 +0000 (11 20:46 -0700)
treec3a8eb8ea3ec960a42c760a2ccc8bcec6ba5983b
parent830e2521b167bee7ab0d828782ba38d26cc9500c
createbranch: allow "/" in remote names

We know the list of remotes so use it to strip off the remote prefix
rather than blindly stripping off one level of "/".

Do this before falling back to the previous behavior.  This allows
remotes with "/" in their names.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/widgets/createbranch.py