-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #542 from LinqLover/MCFileystemFetchOnlyRepository…
…-hasNoLoadConflicts-case-sensitivity Honor possible case-insensitivity of certain file system repositories
- Loading branch information
Showing
8 changed files
with
68 additions
and
8 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
...rm.squeak.package/MCFetchBitbucketRepository.class/instance/isProjectPathCaseSensitive.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
testing | ||
isProjectPathCaseSensitive | ||
|
||
^ false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...tform.squeak.package/MCFetchGithubRepository.class/instance/isProjectPathCaseSensitive.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
testing | ||
isProjectPathCaseSensitive | ||
|
||
^ false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 14 additions & 6 deletions
20
...form.squeak.package/MCFilesystemFetchOnlyRepository.class/instance/hasNoLoadConflicts..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
initialize-release | ||
hasNoLoadConflicts: anMCGitBasedRepository | ||
(anMCGitBasedRepository isKindOf: self class) | ||
ifFalse: [ ^ false ]. | ||
^ self projectPath = anMCGitBasedRepository projectPath | ||
and: [ | ||
self repoPath = anMCGitBasedRepository repoPath | ||
and: [ self projectVersion = anMCGitBasedRepository projectVersion ] ] | ||
|
||
| projectPath otherProjectPath | | ||
(anMCGitBasedRepository isKindOf: self class) | ||
ifFalse: [ ^ false ]. | ||
|
||
projectPath := self projectPath. | ||
otherProjectPath := anMCGitBasedRepository projectPath. | ||
self isProjectPathCaseSensitive ifFalse: [ | ||
projectPath := projectPath asLowercase. | ||
otherProjectPath := otherProjectPath asLowercase]. | ||
|
||
^ projectPath = otherProjectPath | ||
and: [ self repoPath = anMCGitBasedRepository repoPath ] | ||
and: [ self projectVersion = anMCGitBasedRepository projectVersion ] |
4 changes: 4 additions & 0 deletions
4
...ueak.package/MCFilesystemFetchOnlyRepository.class/instance/isProjectPathCaseSensitive.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
testing | ||
isProjectPathCaseSensitive | ||
|
||
^ FileDirectory default isCaseSensitive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 38 additions & 1 deletion
39
repository/Metacello-Platform.squeak.package/monticello.meta/version
Large diffs are not rendered by default.
Oops, something went wrong.