Skip to content

samples: Replace branch master by main (fixes #160) #168

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

Merged
merged 1 commit into from
Apr 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion samples/ignore-branch.rules
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ end repository

match /trunk/
repository myproject
branch master
branch main
end match

# Ignore this branch:
Expand Down
2 changes: 1 addition & 1 deletion samples/merged-branches-tags.rules
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ end repository

match /trunk/
repository myproject
branch master
branch main
end match

# Subversion doesn't understand the Git concept of tags
Expand Down
2 changes: 1 addition & 1 deletion samples/min-max-revision.rules
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ end match

match /trunk/
repository myproject
branch master
branch main
end match

match /branches/([^/]+)/
Expand Down
2 changes: 1 addition & 1 deletion samples/recurse.rules
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ end repository

match /trunk/([^/]+)/
repository \1
branch master
branch main
end match

#
Expand Down
2 changes: 1 addition & 1 deletion samples/standardlayout.rules
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ end repository

match /trunk/
repository myproject
branch master
branch main
end match

match /branches/([^/]+)/
Expand Down
4 changes: 2 additions & 2 deletions samples/two-projects.rules
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ end repository

match /project1/trunk/
repository project1
branch master
branch main
end match

match /project2/trunk/
repository project2
branch master
branch main
end match

# Note how we can use regexp to capture the repository name
Expand Down