Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
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
nexedi
converse.js
Commits
aa888c68
Commit
aa888c68
authored
Oct 21, 2014
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use merge_style from a resource
Issue #507 Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
f0c336b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
weblate/trans/models/subproject.py
weblate/trans/models/subproject.py
+3
-3
No files found.
weblate/trans/models/subproject.py
View file @
aa888c68
...
...
@@ -739,7 +739,7 @@ class SubProject(models.Model, PercentMixin, URLMixin, PathMixin):
return
self
.
linked_subproject
.
update_branch
(
request
)
if
method
is
None
:
method
=
self
.
project
.
merge_style
method
=
self
.
merge_style
# Merge/rebase
if
method
==
'rebase'
:
...
...
@@ -755,7 +755,7 @@ class SubProject(models.Model, PercentMixin, URLMixin, PathMixin):
method
(
self
.
branch
)
self
.
log_info
(
'%s remote into repo'
,
self
.
project
.
merge_style
,
self
.
merge_style
,
)
return
True
except
Exception
as
error
:
...
...
@@ -767,7 +767,7 @@ class SubProject(models.Model, PercentMixin, URLMixin, PathMixin):
# Log error
self
.
log_error
(
'failed %s on repo'
,
self
.
project
.
merge_style
,
self
.
merge_style
,
)
# Notify subscribers and admins
...
...
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