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

pushTo: leads to error on some branches #1104

Closed
chisandrei opened this issue Dec 13, 2018 · 0 comments
Closed

pushTo: leads to error on some branches #1104

chisandrei opened this issue Dec 13, 2018 · 0 comments
Labels
Milestone

Comments

@chisandrei
Copy link

Example code below. self can be any iceberg repository where the current branch has a remote.

self branch fullname. "'refs/heads/release'"
(self branchNamed: self branch name) name. "'release'"

self branch pushTo: self branch upstream remote. "Works as expected"
(self branchNamed: self branch name) pushTo: self branch upstream remote. "IceGenericError: Not a valid reference ''release''"

Doing self branch pushTo: self branch upstream remote works as expected. But using branchNamed: to obtain the branch and then calling pushTo: fails with an exception. The different between the two braches is their full name. In one case it refs/heads/release in the other release

@chisandrei chisandrei changed the title pushTo: leads to error when on some branches pushTo: leads to error on some branches Dec 13, 2018
guillep added a commit to guillep/iceberg that referenced this issue Dec 18, 2018
@guillep guillep added the bug label Dec 18, 2018
@guillep guillep added this to the v1.4.2 milestone Dec 18, 2018
@guillep guillep closed this as completed Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants