Show More
@@ -833,9 +833,10 b' class gitsubrepo(abstractsubrepo):' | |||
|
833 | 833 | for b in branches: |
|
834 | 834 | if b.startswith('refs/remotes/'): |
|
835 | 835 | continue |
|
836 | remote = self._gitcommand(['config', 'branch.%s.remote' % b]) | |
|
836 | bname = b.split('/', 2)[2] | |
|
837 | remote = self._gitcommand(['config', 'branch.%s.remote' % bname]) | |
|
837 | 838 | if remote: |
|
838 | ref = self._gitcommand(['config', 'branch.%s.merge' % b]) | |
|
839 | ref = self._gitcommand(['config', 'branch.%s.merge' % bname]) | |
|
839 | 840 | tracking['refs/remotes/%s/%s' % |
|
840 | 841 | (remote, ref.split('/', 2)[2])] = b |
|
841 | 842 | return tracking |
General Comments 0
You need to be logged in to leave comments.
Login now