##// END OF EJS Templates
convert: return remote branches in git source...
Edouard Gomez -
r7243:a8e4e599 default
parent child Browse files
Show More
@@ -38,7 +38,7 b' class convert_git(converter_source):'
38
38
39 def getheads(self):
39 def getheads(self):
40 if not self.rev:
40 if not self.rev:
41 return self.gitcmd('git rev-parse --branches').read().splitlines()
41 return self.gitcmd('git rev-parse --branches --remotes').read().splitlines()
42 else:
42 else:
43 fh = self.gitcmd("git rev-parse --verify %s" % self.rev)
43 fh = self.gitcmd("git rev-parse --verify %s" % self.rev)
44 return [fh.read()[:-1]]
44 return [fh.read()[:-1]]
General Comments 0
You need to be logged in to leave comments. Login now