Skip to content

Commit

Permalink
fix issue with -B option in GDKProjectSet>>cloneOrUpdateProject:remot…
Browse files Browse the repository at this point in the history
…eName:in:pull:
  • Loading branch information
dalehenrich committed Sep 30, 2023
1 parent b34891c commit b138621
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/registryReport.solo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env superdoit_solo
options
{
SuperDoitOptionalOptionWithRequiredArg long: 'registry'.
SuperDoitOptionalOptionWithRequiredArg long: 'registry' short: 'r'.
SuperDoitOptionalOptionWithRequiredArg long: 'projectSet'.
SuperDoitOptionalOptionWithRequiredArg long: 'stone'.
SuperDoitOptionalOptionWithRequiredArg long: 'template'.
Expand Down
2 changes: 1 addition & 1 deletion bin/updateProjectSet.solo
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ EXAMPLES
$basename --registry=bosch --projectSet=dev \
--projectName=Rowan \
--gitUrl=git@github.com:GemTalk/Rowan.git
# simplest definition using a file: url to specify spec location
# simplest definition using a git url to specify spec location
$basename --registry=bosch --projectSet=dev \
--projectName=Rowan \
--gitUrl=git@github.com:GemTalk/Rowan.git
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,17 @@ cloneOrUpdateProject: projectName remoteName: remoteName in: gitRootPath pull: p
show: ' Set ' , projectName , ' revision to ' , revision.
gitTool
gitcheckoutIn: gitProjectRef
with: ' -B ' , revision , ' ' , remoteName , '/' , revision.
with: ' -B ' , remoteName , '/' , revision.
pull
ifTrue: [
Transcript
cr;
show:
' Pull ' , projectName , ' revision ' , revision , ' from remote ' , origin.
gitTool gitpullIn: gitProjectRef fullName remote: remoteName branch: revision ] ].
gitTool
gitpullIn: gitProjectRef fullName
remote: remoteName
branch: revision ] ].
cloned
ifTrue: [
(gitUrls keys reject: [ :each | each = remoteName ])
Expand Down

0 comments on commit b138621

Please sign in to comment.