##// END OF EJS Templates
subrepo: work around old git's remote naming scheme...
Eric Eisner -
r13096:6e74b912 default
parent child Browse files
Show More
@@ -682,8 +682,11 b' class gitsubrepo(object):'
682 682 if line[2:].startswith('(no branch)'):
683 683 continue
684 684 branch, revision = line[2:].split()[:2]
685 if revision == '->':
685 if revision == '->' or branch.endswith('/HEAD'):
686 686 continue # ignore remote/HEAD redirects
687 if '/' in branch and not branch.startswith('remotes/'):
688 # old git compatability
689 branch = 'remotes/' + branch
687 690 if line[0] == '*':
688 691 current = branch
689 692 branch2rev[branch] = revision
General Comments 0
You need to be logged in to leave comments. Login now