Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify scripts to use powershell switch args over booleans. #27

Merged
merged 2 commits into from
May 22, 2024

Conversation

stevewgr
Copy link
Member

Description

Simplify scripts to use powershell switch args over booleans.

Additionally I also fixed an issue with the import script when generating rev-list to always return a list, even if only 1 migration script is running.

Note that in a situation where running the script with -generate_diffs
and only 1 migration script is running, the rev-list will return only a
single commit, which will be treated as a string instead of a list.
Therefore when indexing it with commits[0], in a case of a string, it
will return the first character instead of the first string as would be
expected.
@stevewgr stevewgr self-assigned this May 22, 2024
@stevewgr stevewgr merged commit bb7c474 into master May 22, 2024
1 check passed
@stevewgr stevewgr deleted the switch-args branch May 22, 2024 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant