##// END OF EJS Templates
subrepo: clone of git sub-repository creates incorrect git branch (issue3870)...
pozheg -
r19012:811e2532 default
parent child Browse files
Show More
@@ -1266,7 +1266,7 b' class gitsubrepo(abstractsubrepo):'
1266 1266
1267 1267 if remote not in tracking:
1268 1268 # create a new local tracking branch
1269 local = remote.split('/', 2)[2]
1269 local = remote.split('/', 3)[3]
1270 1270 checkout(['-b', local, remote])
1271 1271 elif self._gitisancestor(branch2rev[tracking[remote]], remote):
1272 1272 # When updating to a tracked remote branch,
General Comments 0
You need to be logged in to leave comments. Login now