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
5e41fd30
Commit
5e41fd30
authored
Dec 28, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
a9f90ffa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+2
-4
No files found.
wcfs/wcfs_test.py
View file @
5e41fd30
...
...
@@ -170,10 +170,10 @@ def test_wcfs():
Z
=
_
()
Z
.
tidv
=
[]
def
commit
():
print
'commit'
last
.
_p_changed
=
1
transaction
.
commit
()
tid
=
last
.
_p_serial
print
'commit -> %s'
%
h
(
tid
)
Z
.
head
=
tid
Z
.
tidv
.
append
(
tid
)
return
tid
...
...
@@ -185,9 +185,7 @@ def test_wcfs():
def
wcsync
():
while
len
(
Z
.
wctidv
)
<
len
(
Z
.
tidv
):
l
=
wc_zhead
.
readline
()
print
'
\
n
\
n
\
n
'
print
'> zhead read: %r'
%
l
print
#print '> zhead read: %r' % l
l
=
l
.
rstrip
(
'
\
n
'
)
wctid
=
fromhex
(
l
)
i
=
len
(
Z
.
wctidv
)
...
...
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