Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
bb307fb5
Commit
bb307fb5
authored
Oct 04, 2012
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
the logic of previous revision was broken. Also fix a conflict of variable name
parent
bc44610f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
erp5/util/testnode/testnode.py
erp5/util/testnode/testnode.py
+4
-4
No files found.
erp5/util/testnode/testnode.py
View file @
bb307fb5
...
...
@@ -173,15 +173,15 @@ branch = %(branch)s
if
revision
!=
test_result
.
revision
:
previous_revision
=
test_result
.
revision
log
(
'Disagreement on tested revision, checking out:'
)
for
i
,
repository_revision
in
enumerate
(
previous_
revision
.
split
(
','
)):
for
i
,
repository_revision
in
enumerate
(
test_result
.
revision
.
split
(
','
)):
vcs_repository
=
vcs_repository_list
[
i
]
repository_path
=
vcs_repository
[
'repository_path'
]
revision
=
repository_revision
.
rsplit
(
'-'
,
1
)[
1
]
checkout_
revision
=
repository_revision
.
rsplit
(
'-'
,
1
)[
1
]
# other testnodes on other boxes are already ready to test another
# revision
log
(
' %s at %s'
%
(
repository_path
,
revision
))
log
(
' %s at %s'
%
(
repository_path
,
checkout_
revision
))
updater
=
Updater
(
repository_path
,
git_binary
=
config
[
'git_binary'
],
revision
=
revision
,
log
=
log
,
revision
=
checkout_
revision
,
log
=
log
,
process_manager
=
process_manager
)
updater
.
checkout
()
...
...
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