Skip to content

Commit

Permalink
Bugfix for full cesm. May need to create an external subrepo during
Browse files Browse the repository at this point in the history
checkout stage.

Bugfix for git 2.10, only a single porcelain version for git status
command.

Testing: checked out model and created a cesm test.
  • Loading branch information
bandre-ucar authored and bjandre committed Oct 27, 2017
1 parent c875565 commit 3e3716b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion checkout_externals.py
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,7 @@ def git_status_porcelain_v1z():
between version or user configuration.
"""
cmd = ['git', 'status', '--porcelain=v1', '-z']
cmd = ['git', 'status', '--porcelain', '-z']
git_output = check_output(cmd)
return git_output

Expand Down Expand Up @@ -1738,6 +1738,8 @@ def checkout(self, load_all):
self._repo.checkout(self._base_dir_path, self._repo_dir_name)

if self._externals:
if not self._externals_sourcetree:
self._create_externals_sourcetree()
self._externals_sourcetree.checkout(load_all)

def _create_externals_sourcetree(self):
Expand Down

0 comments on commit 3e3716b

Please sign in to comment.