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

Subversion fixes #8572

Merged
merged 6 commits into from
Apr 26, 2024
Merged

Subversion fixes #8572

merged 6 commits into from
Apr 26, 2024

Conversation

sschuberth
Copy link
Member

Please have a look at the individual commit messages for the details.

Copy link

codecov bot commented Apr 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.70%. Comparing base (456167b) to head (8bebd95).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #8572   +/-   ##
=========================================
  Coverage     67.70%   67.70%           
  Complexity     1007     1007           
=========================================
  Files           246      246           
  Lines          7924     7924           
  Branches        883      883           
=========================================
  Hits           5365     5365           
  Misses         2176     2176           
  Partials        383      383           
Flag Coverage Δ
funTest-docker 66.49% <ø> (ø)
funTest-non-docker 34.71% <ø> (ø)
test 37.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

}.map {
revision
it.toString()
Copy link
Member

Choose a reason for hiding this comment

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

commit msg: Please provide a rationale.

Slightly improve logging in the caller to be able to remove similar
logging in some implementations.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
This changes the state of the `updateClient` and only needs to be set
once.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
One should not expect checking out the requested revision to always go
well, but return the actual revision so the caller can double-check the
requested against the actual revision.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Simplify code to only do a single `svn switch`, and eventually an `svn
update` if a path is specified.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Ensure that always the first algorithm mentioned at [1] is applied. This
avoids errors e.g. when updating to a resolved revision of a tag path.

Fixes #6160.

[1]: https://svnbook.red-bean.com/en/1.7/svn.advanced.pegrevs.html

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Recent changes made the test work. However, it may take up to 20 minutes
to complete, so mark it as expensive.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
@sschuberth sschuberth requested review from fviernau and a team April 26, 2024 08:14
@fviernau fviernau dismissed their stale review April 26, 2024 08:15

Addressed.

@sschuberth sschuberth merged commit eeeb5e3 into main Apr 26, 2024
22 checks passed
@sschuberth sschuberth deleted the svn-fixes branch April 26, 2024 09:17
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.

3 participants