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

RwGitTool>>gitcheckoutIn:with: does not create a git command #910

Closed
ericwinger opened this issue Jan 12, 2024 · 3 comments
Closed

RwGitTool>>gitcheckoutIn:with: does not create a git command #910

ericwinger opened this issue Jan 12, 2024 · 3 comments
Assignees
Labels
next up top of todo list

Comments

@ericwinger
Copy link
Member

Sending RwGitTool>>gitcheckoutIn:with: with the following arguments creates the commands below. It doesn't look like a valid git command. Stack dump attached.

gitRootReference: FileReference disk @ '/uffda1/users/ewinger/rowanStones/checkouts/gemstone37rowanv3_externals_st/RowanSample1'
args: 'temp'

'set -e; cd /uffda1/users/ewinger/rowanStones/checkouts/gemstone37rowanv3_externals_st/RowanSample1; git --git-dir /uffda1
/users/ewinger/rowanStones/checkouts/gemstone37rowanv3_externals_st/RowanSample1/.git --work-tree /uffda1/users
/ewinger/rowanStones/checkouts/gemstone37rowanv3_externals_st/RowanSample1 checkout temp'

I get this error when run from a command line: No such file or directory

ewinger@uffda:/uffda1/users/ewinger/rowanStones/checkouts/gemstone37rowanv3_externals_st/RowanSample1$ 'set -e; cd /uffda1/users/ewinger/rowanStones/checkouts/gemstone37rowanv3_externals_st/RowanSample1; git --git-dir /uffda1/users/ewinger/rowanStones/checkouts/gemstone37rowanv3_externals_st/RowanSample1/.git --work-tree /uffda1/users/ewinger/rowanStones/checkouts/gemstone37rowanv3_externals_st/RowanSample1 checkout temp'
bash: set -e; cd /uffda1/users/ewinger/rowanStones/checkouts/gemstone37rowanv3_externals_st/RowanSample1; git --git-dir /uffda1/users/ewinger/rowanStones/checkouts/gemstone37rowanv3_externals_st/RowanSample1/.git --work-tree /uffda1/users/ewinger/rowanStones/checkouts/gemstone37rowanv3_externals_st/RowanSample1 checkout temp: No such file or directory

2024-01-12_172860327_rowanServerStackDump.txt

@ericwinger ericwinger added the next up top of todo list label Jan 12, 2024
@dalehenrich
Copy link
Member

Well the error from the command line version of the command is because you've got a leading and trailing $', so bash is trying to execute that as an executable command ... remove those and you'll get a better result ...

@dalehenrich
Copy link
Member

What error were you getting when you ran the command from within the image? In the stack, you are stopping at a breakpoint ... so no Smalltalk error information ...

@ericwinger
Copy link
Member Author

Well the error from the command line version of the command is because you've got a leading and trailing $', 

Yup, you're right. No error in the command. Something else is going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next up top of todo list
Projects
None yet
Development

No branches or pull requests

2 participants