Skip to content

Commit

Permalink
Forza checkout durante il finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
naufraghi authored and danieledapo committed Jul 16, 2016
1 parent 9813faa commit 87d60d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git_externals/gittify.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ def add_extfile(ext_to_write):
for branch in branches():
echo('.. searching in branch %s ...' % branch)
with chdir(str(gitsvn_repo)):
with checkout(posixpath.join('origin', branch) if branch != 'master' else branch):
with checkout(posixpath.join('origin', branch) if branch != 'master' else branch, force=True):
try:
git_ignore = git('svn', 'show-ignore')
except GitError as err:
Expand All @@ -613,7 +613,7 @@ def add_extfile(ext_to_write):

externals = []
check_call(['git', 'stash'])
with checkout(branch):
with checkout(branch, force=True):
try:
for ext in get_externals(svn_url, skip_relative=True):
echo('... processing external %s ...' % ext['location'])
Expand Down

0 comments on commit 87d60d1

Please sign in to comment.