Skip to content
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

Properly handle result of getRelativeToCanonical() #2077

Merged
merged 1 commit into from
Apr 23, 2018

Conversation

idodeclare
Copy link
Contributor

Hello,

Please consider for integration this patch to fix result handling from getRelativeToCanonical(). Existing tests cover this change for Linux and Mac. This may or may not be the solution to issue #2069 on Windows, as I could not test on that environment.

Thank you.

This is affecting Windows so a fix of issue oracle#2069
is not certain -- but let's see.
@coveralls
Copy link

coveralls commented Apr 22, 2018

Pull Request Test Coverage Report for Build 2385

  • 8 of 8 (100.0%) changed or added relevant lines in 2 files are covered.
  • 18 unchanged lines in 8 files lost coverage.
  • Overall coverage increased (+0.02%) to 73.235%

Files with Coverage Reduction New Missed Lines %
src/org/opensolaris/opengrok/history/FileHistoryCache.java 1 73.83%
src/org/opensolaris/opengrok/history/SCCSRepository.java 1 80.47%
src/org/opensolaris/opengrok/history/GitRepository.java 2 62.04%
src/org/opensolaris/opengrok/analysis/AnalyzerGuru.java 2 85.96%
src/org/opensolaris/opengrok/history/HistoryGuru.java 2 73.75%
src/org/opensolaris/opengrok/history/RepositoryFactory.java 3 85.42%
src/org/opensolaris/opengrok/history/BitKeeperRepository.java 3 82.95%
src/org/opensolaris/opengrok/history/MercurialRepository.java 4 81.03%
Totals Coverage Status
Change from base Build 2382: 0.02%
Covered Lines: 30827
Relevant Lines: 42093

💛 - Coveralls

@tarzanek
Copy link
Contributor

I just verified on windows and it works, merging
Thank you!

@tarzanek tarzanek self-assigned this Apr 23, 2018
@tarzanek tarzanek added this to the 1.1 milestone Apr 23, 2018
@tarzanek tarzanek merged commit 5aba820 into oracle:master Apr 23, 2018
@vladak
Copy link
Member

vladak commented Apr 23, 2018

A test case that would prevent the regression from reappearing would be nice.

@idodeclare idodeclare deleted the bugfix/badpath branch May 9, 2018 02:56
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.

None yet

4 participants