##// END OF EJS Templates
subrepo: convert matched string to integer before comparing Git version...
Siddharth Agarwal -
r20816:0c32fafd stable
parent child Browse files
Show More
@@ -1121,7 +1121,7 b' class gitsubrepo(abstractsubrepo):'
1121 if not m:
1121 if not m:
1122 self._ui.warn(_('cannot retrieve git version'))
1122 self._ui.warn(_('cannot retrieve git version'))
1123 return
1123 return
1124 version = (int(m.group(1)), m.group(2))
1124 version = (int(m.group(1)), int(m.group(2)))
1125 # git 1.4.0 can't work at all, but 1.5.X can in at least some cases,
1125 # git 1.4.0 can't work at all, but 1.5.X can in at least some cases,
1126 # despite the docstring comment. For now, error on 1.4.0, warn on
1126 # despite the docstring comment. For now, error on 1.4.0, warn on
1127 # 1.5.0 but attempt to continue.
1127 # 1.5.0 but attempt to continue.
General Comments 0
You need to be logged in to leave comments. Login now