Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
97ca23f6
Commit
97ca23f6
authored
Apr 14, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
1cd2aa17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wcfs/δftail.go
wcfs/δftail.go
+3
-3
No files found.
wcfs/δftail.go
View file @
97ca23f6
...
@@ -129,13 +129,13 @@ func (f *BigFile) LastBlkRev(blk int64, at zodb.Tid) (_ zodb.Tid, exact bool) {
...
@@ -129,13 +129,13 @@ func (f *BigFile) LastBlkRev(blk int64, at zodb.Tid) (_ zodb.Tid, exact bool) {
// block was removed
// block was removed
if
!
ok
{
if
!
ok
{
return
tab
T
ev
,
tabRevExact
return
tab
R
ev
,
tabRevExact
}
}
// blktab[blk] was changed to point to a zblk @rev.
// blktab[blk] was changed to point to a zblk @rev.
// blk revision is max rev and when zblk changed last in (rev, at] range.
// blk revision is max rev and when zblk changed last in (rev, at] range.
zblkRev
,
zblkExact
:=
δZ
.
LastRevOf
(
zblkOid
,
at
)
zblkRev
,
zblk
Rev
Exact
:=
δZ
.
LastRevOf
(
zblkOid
,
at
)
if
zblkRev
>
r
ev
{
if
zblkRev
>
tabR
ev
{
return
zblkRev
,
zblkRevExact
return
zblkRev
,
zblkRevExact
}
else
{
}
else
{
return
tabRev
,
tabRevExact
return
tabRev
,
tabRevExact
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment