Skip to content

VR-{3600, 3866, 3887}: Use backend merge and raise for conflict#485

Merged
convoliution merged 6 commits into
masterfrom
client/ml/merge
Apr 9, 2020
Merged

VR-{3600, 3866, 3887}: Use backend merge and raise for conflict#485
convoliution merged 6 commits into
masterfrom
client/ml/merge

Conversation

@convoliution
Copy link
Copy Markdown
Contributor

@convoliution convoliution commented Apr 8, 2020

Blocked because setting branch_a or branch_b seems to result in a backend 500.
This backend bug has been resolved.

@convoliution convoliution changed the title VR-{3600, 3866}: Use backend merge and raise for conflict VR-{3600, 3866, 3887}: Use backend merge and raise for conflict Apr 8, 2020
@convoliution convoliution marked this pull request as ready for review April 9, 2020 19:06
@convoliution
Copy link
Copy Markdown
Contributor Author

fyi @ravishetye

other.branch_name or other.id[:7],
self.branch_name or self.id[:7],
msg = _VersioningService.MergeRepositoryCommitsRequest()
if self.branch_name is not None:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming you reviewed a vs b because I don't recall right now =)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I've triple-checked this 😵

raise RuntimeError(
"merge conflict;"
" resolution is not currently supported through the Client;"
" please create a new Commit with the updated blobs"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have somewhere in the docs showing how to do this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We currently do not! That sounds like a great idea.
I can make a ticket to create a guide for doing this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do it.

@convoliution convoliution merged commit 377169f into master Apr 9, 2020
@convoliution convoliution deleted the client/ml/merge branch April 9, 2020 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants