Skip to content

Commit

Permalink
concurrent git_checkout issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshmi2506 committed Feb 7, 2024
1 parent 1cae470 commit 0717ce2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions metecho/api/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,10 @@ def unsaved_changes(scratch_org, originating_user_id):
scratch_org, originating_user_id=originating_user_id
)
unsaved_changes = compare_revisions(old_revision_numbers, new_revision_numbers)
scratch_org.unsaved_changes = unsaved_changes


def nonsource_types(scratch_org):
user = scratch_org.owner
repo_id = scratch_org.parent.get_repo_id()
commit_ish = scratch_org.parent.branch_name
Expand All @@ -627,10 +631,6 @@ def unsaved_changes(scratch_org, originating_user_id):
scratch_org,
repo_root,
)
scratch_org.unsaved_changes = unsaved_changes


def nonsource_types(scratch_org):
scratch_org.non_source_changes = {}
with dataset_env(scratch_org) as (
project_config,
Expand Down

0 comments on commit 0717ce2

Please sign in to comment.