Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Switch to new surf revparser #152

Merged
merged 2 commits into from
Feb 13, 2020
Merged

Switch to new surf revparser #152

merged 2 commits into from
Feb 13, 2020

Conversation

xla
Copy link
Contributor

@xla xla commented Feb 13, 2020

This avoids brittle chaining and is closer to the underlying git2 mechanisms.

Closes #139

This avoids brittle chaining and is closer to the underlying git2
mechanisms.

Closes #139
@xla xla requested review from rudolfs, garbados and FintanH February 13, 2020 11:22
@xla xla self-assigned this Feb 13, 2020
Copy link
Contributor

@FintanH FintanH left a comment

Choose a reason for hiding this comment

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

Looking good, just some clean up suggestions

proxy/Cargo.toml Outdated Show resolved Hide resolved
{
return Err(error::Error::Git(surf::git::error::Error::NotBranch));
};
browser.revspec(revision)?;
Copy link
Contributor

Choose a reason for hiding this comment

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

😚👌

proxy/src/coco.rs Outdated Show resolved Hide resolved
proxy/src/coco.rs Outdated Show resolved Hide resolved
Copy link
Member

@rudolfs rudolfs left a comment

Choose a reason for hiding this comment

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

What Fintan said, but yeah, looks nice and clean!

@xla xla requested a review from FintanH February 13, 2020 11:42
proxy/src/coco.rs Show resolved Hide resolved
@xla xla merged commit 4d4d66a into master Feb 13, 2020
@xla xla deleted the xla/139-use-surf-revparser branch February 13, 2020 12:19
rudolfs pushed a commit that referenced this pull request Mar 4, 2020
This avoids brittle chaining and is closer to the underlying git2
mechanisms.

Closes #139

* Please @FintanH
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorporate new surf revparser
3 participants