Loading git.py +2 −4 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ def _check_repo(repoLocalPath): print green('---') print green('Verify repo in ' + repoLocalPath) remoteName = local('git remote', capture=True) remoteName = local('LC_ALL=C git remote', capture=True) filesStatusRawInfo = _get_files_status_information() print green('Verify local files status against current HEAD commit...') Loading Loading @@ -120,9 +120,7 @@ def _check_local_branches_exist_on_remote(localBranchesRawInfo, remoteName): def _check_local_branches_status_vs_remote(localBranchesRawInfo, remoteName): nbWarnings = 0 pushableBranches = [] # on gere un git FR ou EN, a voir ce qu'on peut faire # pour une internationalisation plus cool.. pattern = re.compile('.*\[.* (ahead|en avance de) .*\].*') pattern = re.compile('.*\[.* (ahead) .*\].*') for localBranchRawInfo in localBranchesRawInfo: if (pattern.match(localBranchRawInfo)): localBranchName = _get_branch_name(localBranchRawInfo) Loading Loading
git.py +2 −4 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ def _check_repo(repoLocalPath): print green('---') print green('Verify repo in ' + repoLocalPath) remoteName = local('git remote', capture=True) remoteName = local('LC_ALL=C git remote', capture=True) filesStatusRawInfo = _get_files_status_information() print green('Verify local files status against current HEAD commit...') Loading Loading @@ -120,9 +120,7 @@ def _check_local_branches_exist_on_remote(localBranchesRawInfo, remoteName): def _check_local_branches_status_vs_remote(localBranchesRawInfo, remoteName): nbWarnings = 0 pushableBranches = [] # on gere un git FR ou EN, a voir ce qu'on peut faire # pour une internationalisation plus cool.. pattern = re.compile('.*\[.* (ahead|en avance de) .*\].*') pattern = re.compile('.*\[.* (ahead) .*\].*') for localBranchRawInfo in localBranchesRawInfo: if (pattern.match(localBranchRawInfo)): localBranchName = _get_branch_name(localBranchRawInfo) Loading