Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implement is_ancestor#322

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Byron merged 1 commit intogitpython-developers:masterfrombwrsandman:is_ancestor
Jul 21, 2015

Conversation

bwrsandman
Copy link

Wrapgit merge-base --is-ancestor into its own function because it acts
as a boolean check unlike basegit merge-base call

@Byron
Copy link
Member

Thank you !

Have you managed to get nosetest to work for you ? It should be easy to add a test to verify that

  • it returns True the rev is an ancestor
  • it returns False if the rev is no ancestor
  • it throws if there is an invalid revision

@bwrsandman
Copy link
Author

I am writing a test as we speak

@bwrsandmanbwrsandmanforce-pushed theis_ancestor branch 2 times, most recently fromd402f7b toacc559fCompareJuly 21, 2015 14:58
Wrap `git merge-base --is-ancestor` into its own function because it actsas a boolean check unlike base `git merge-base call`
@bwrsandman
Copy link
Author

Test done. Sorry I have no video of the coding ;)

@Byron
Copy link
Member

Thank you !

Looks great, even without the video :).

Closes#321

Byron added a commit that referenced this pull requestJul 21, 2015
@ByronByron merged commit1883eb9 intogitpython-developers:masterJul 21, 2015
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Milestone
v1.0.2 - Fixes
Development

Successfully merging this pull request may close these issues.

2 participants
@bwrsandman@Byron

[8]ページ先頭

©2009-2025 Movatter.jp