Skip to content

Branches: REPL backslash commands for branches#1284

Merged
aljazerzen merged 9 commits intomasterfrom
branches/list-branches
Apr 16, 2024
Merged

Branches: REPL backslash commands for branches#1284
aljazerzen merged 9 commits intomasterfrom
branches/list-branches

Conversation

@quinchs
Copy link
Contributor

@quinchs quinchs commented Apr 4, 2024

Fixes #1263

@quinchs
Copy link
Contributor Author

quinchs commented Apr 12, 2024

Also fixes #1275

@quinchs quinchs linked an issue Apr 12, 2024 that may be closed by this pull request
fn parent(&self) -> anyhow::Result<&str>;
fn id(&self) -> anyhow::Result<&str>;
fn statements<'a>(&'a self) -> Self::StatementsIter<'a>;
fn statements(&'a self) -> T;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, this is bizzare. How'd you find the linked issue?

It doesn't seem obvious that these two problems are connected.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

a lot of debugging ended up the codepath in branch commands that used that trait, and some cheeki googling

@quinchs quinchs marked this pull request as ready for review April 12, 2024 21:02
@quinchs
Copy link
Contributor Author

quinchs commented Apr 12, 2024

Adding other branch commands is simple by adding them to the BranchingCmd enum

@quinchs quinchs requested a review from aljazerzen April 12, 2024 21:03
fn parent(&self) -> anyhow::Result<&str>;
fn id(&self) -> anyhow::Result<&str>;
fn statements<'a>(&'a self) -> Self::StatementsIter<'a>;
fn statements(&'a self) -> T;
Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, this is bizzare. How'd you find the linked issue?

It doesn't seem obvious that these two problems are connected.

@aljazerzen aljazerzen merged commit 318b321 into master Apr 16, 2024
@aljazerzen aljazerzen deleted the branches/list-branches branch April 16, 2024 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add edgedb list branches as the branch analog to edgedb list databases Add REPL backslash commands for branches

2 participants