Skip to content

Commit

Permalink
Fix load order of _find_changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
dafyddcrosby committed Feb 12, 2024
1 parent 3cbc978 commit a706bab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/taste_tester/commands.rb
Original file line number Diff line number Diff line change
Expand Up @@ -278,12 +278,12 @@ def self._find_changeset(repo)
# different tags or labels assigned to the default branch, (i.e. 'main',
# 'stable', etc.) and should be configured if different than the default.
start_ref = case repo
when BetweenMeals::Repo::Hg
TasteTester::Config.vcs_start_ref_hg
when BetweenMeals::Repo::Svn
repo.latest_revision
when BetweenMeals::Repo::Git
TasteTester::Config.vcs_start_ref_git
when BetweenMeals::Repo::Hg
TasteTester::Config.vcs_start_ref_hg
end
end_ref = TasteTester::Config.vcs_end_ref

Expand Down

0 comments on commit a706bab

Please sign in to comment.