diff options
-rw-r--r-- | git_command.py | 3 | ||||
-rwxr-xr-x | repo | 2 | ||||
-rw-r--r-- | tests/test_git_command.py | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/git_command.py b/git_command.py index dc542c36..5017ea9b 100644 --- a/git_command.py +++ b/git_command.py | |||
@@ -28,7 +28,8 @@ from repo_trace import REPO_TRACE, IsTrace, Trace | |||
28 | from wrapper import Wrapper | 28 | from wrapper import Wrapper |
29 | 29 | ||
30 | GIT = 'git' | 30 | GIT = 'git' |
31 | MIN_GIT_VERSION = (1, 5, 4) | 31 | # Should keep in sync with the "repo" launcher file. |
32 | MIN_GIT_VERSION = (2, 10, 2) | ||
32 | GIT_DIR = 'GIT_DIR' | 33 | GIT_DIR = 'GIT_DIR' |
33 | 34 | ||
34 | LAST_GITDIR = None | 35 | LAST_GITDIR = None |
@@ -86,7 +86,7 @@ TACbBS+Up3RpfYVfd63c1cDdlru13pQAn3NQy/SN858MkxN+zym86UBgOad2 | |||
86 | """ | 86 | """ |
87 | 87 | ||
88 | GIT = 'git' # our git command | 88 | GIT = 'git' # our git command |
89 | MIN_GIT_VERSION = (1, 7, 2) # minimum supported git version | 89 | MIN_GIT_VERSION = (2, 10, 2) # minimum supported git version |
90 | repodir = '.repo' # name of repo's private directory | 90 | repodir = '.repo' # name of repo's private directory |
91 | S_repo = 'repo' # special repo repository | 91 | S_repo = 'repo' # special repo repository |
92 | S_manifests = 'manifests' # special manifest repository | 92 | S_manifests = 'manifests' # special manifest repository |
diff --git a/tests/test_git_command.py b/tests/test_git_command.py index 51171a32..8d9b5f00 100644 --- a/tests/test_git_command.py +++ b/tests/test_git_command.py | |||
@@ -35,7 +35,7 @@ class GitCallUnitTest(unittest.TestCase): | |||
35 | # We don't dive too deep into the values here to avoid having to update | 35 | # We don't dive too deep into the values here to avoid having to update |
36 | # whenever git versions change. We do check relative to this min version | 36 | # whenever git versions change. We do check relative to this min version |
37 | # as this is what `repo` itself requires via MIN_GIT_VERSION. | 37 | # as this is what `repo` itself requires via MIN_GIT_VERSION. |
38 | MIN_GIT_VERSION = (1, 7, 2) | 38 | MIN_GIT_VERSION = (2, 10, 2) |
39 | self.assertTrue(isinstance(ver.major, int)) | 39 | self.assertTrue(isinstance(ver.major, int)) |
40 | self.assertTrue(isinstance(ver.minor, int)) | 40 | self.assertTrue(isinstance(ver.minor, int)) |
41 | self.assertTrue(isinstance(ver.micro, int)) | 41 | self.assertTrue(isinstance(ver.micro, int)) |