changeset 19012 | 811e253226c3 |
parent 18967 | 88d1b59f6906 |
child 19156 | ed1a212193dc |
--- a/mercurial/subrepo.py Tue Apr 16 14:39:37 2013 -0700 +++ b/mercurial/subrepo.py Tue Apr 16 22:00:05 2013 -0500 @@ -1266,7 +1266,7 @@ if remote not in tracking: # create a new local tracking branch - local = remote.split('/', 2)[2] + local = remote.split('/', 3)[3] checkout(['-b', local, remote]) elif self._gitisancestor(branch2rev[tracking[remote]], remote): # When updating to a tracked remote branch,