-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Pull request revisions. #12665
Pull request revisions. #12665
Conversation
7d611b4
to
467435e
Compare
Lint is failing due to a spelling mistake. I before E except after C or sounding as Ay as in Weigh... and all that jazz... |
ad6bf95
to
36f7d4f
Compare
2 things to note:
|
Note to self: a separate patchset/difftree comparison page is needed. (to implement use: git patch, git diff-tree, git merge-base, git cherry) Currently I believe that our compare page doesn't do the kind of shit that github does when comparing branches and listing how many commits behind ahead is the branch. This is good. A simple compare is basically should be a diff without the noise of that kind of stuff and a separate more detailed tree/patches compare page should exists. |
Alright I will leave the diff tree feature to an other day. I will open an issue for it. |
Codecov Report
@@ Coverage Diff @@
## master #12665 +/- ##
==========================================
+ Coverage 43.07% 43.13% +0.05%
==========================================
Files 658 661 +3
Lines 72451 72729 +278
==========================================
+ Hits 31211 31373 +162
- Misses 36183 36259 +76
- Partials 5057 5097 +40
Continue to review full report at Codecov.
|
Okay, I think it is good enough. I might create the more comprehensive tree comparsion page later. |
The tree compare issue: #12800 |
3647d39
to
2d95c3f
Compare
I am not exactly sure why the tests with my fixtures are not working. @a1012112796 any idea how to fix the current unit test failures? |
b98b4c2
to
674ed8f
Compare
I added tests and fixed the issues. @lunny @zeripath @a1012112796 Anything else? |
if has { | ||
rev.ChangesetHeadRef = git.GetRevisionRef(pr.ID, index) | ||
if index > 1 { | ||
rev.PrevChangesetHeadRef = git.GetRevisionRef(pr.ID, index-1) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not suggest do it here.
} | ||
return err | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | |
return err | |
} | |
} else { | |
return err | |
} | |
} |
I think I have run out of time to make this work |
Fixes #12604
Fixes #5254