jenkinsci / jenkinsci/subversion-plugin

[JENKINS-27480] Wrong revision when checking out by revision date

Open
#1,223 0 comments 0 reactions 0 assignees View on GitHub
component:subversion-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
131
Forks
275
Avg merge
12h 4m
Merged PRs (30d)
6

Description

When checking out using a date revision specifier an older revision than the revision specified is checked out:

Running: General SCM

Updating https://server/svn/repo/trunk@{2015-03-17T15:46:04.558054Z} at revision '2015-03-17T16:46:04.558 +0100'
...
At revision 3320

Actually "


{2015-03-17T15:46:04.558054Z}

" points to revision 3321.

While the conversion to local time is OK, the subversion plug-in (or SVNKit) truncates the time resolution to milliseconds, whereas subversion supports microseconds. This results in an check out of an older revision than requested.

---
Originally reported by gordin, imported from: Wrong revision when checking out by revision date


  • status: Open
  • priority: Major
  • component(s): subversion-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 2
  • imported: 20251212-090250

Raw content of original issue

When checking out using a date revision specifier an older revision than the revision specified is checked out:



Running: General SCM

Updating https://server/svn/repo/trunk@{2015-03-17T15:46:04.558054Z} at revision '2015-03-17T16:46:04.558 +0100'
...
At revision 3320


Actually "


{2015-03-17T15:46:04.558054Z}

" points to revision 3321.

While the conversion to local time is OK, the subversion plug-in (or SVNKit) truncates the time resolution to milliseconds, whereas subversion supports microseconds. This results in an check out of an older revision than requested.

environment

```
Windows Server 2012

Jenkins 1.580.3 LTS

Subversion Plug-in 2.5

VisualSVN Server 3.2.1
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.