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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools.vpm: improve VCS handling part2 #19754

Merged
merged 2 commits into from
Nov 4, 2023

Conversation

ttytm
Copy link
Member

@ttytm ttytm commented Nov 3, 2023

馃 Generated by Copilot at 380a28a

This pull request improves the vpm tool by fixing a bug with Mercurial modules, and by refactoring the VCS struct to use a nested args struct for version control system commands. This makes the code more readable, flexible, and consistent across different files.

馃 Generated by Copilot at 380a28a

  • Refactor the code to use a new args field in the VCS struct, which holds the specific arguments for each version control system command (link, link, link, link, link, link, link)
  • Fix a typo in the supported_vcs map, where the key for Mercurial was 'hd' instead of 'hg' (link)

@spytheman spytheman merged commit 230dcb4 into vlang:master Nov 4, 2023
42 checks passed
@ttytm ttytm deleted the vpm/improve-vcs-handling-p2 branch November 13, 2023 14:45
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.

None yet

2 participants