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
9a9fe67a
Commit
9a9fe67a
authored
Oct 10, 2014
by
Michal Čihař
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into bootstrap
parents
80d64d0a
bf1f5e93
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
12 deletions
+9
-12
docs/admin/install.rst
docs/admin/install.rst
+1
-1
weblate/requirements.py
weblate/requirements.py
+1
-1
weblate/trans/vcs.py
weblate/trans/vcs.py
+7
-10
No files found.
docs/admin/install.rst
View file @
9a9fe67a
...
...
@@ -14,7 +14,7 @@ Django (>= 1.6)
https://www.djangoproject.com/
Translate-toolkit (>= 1.9.0, 1.10.0 or newer strongly recommended)
http://toolkit.translatehouse.org/
Git (>= 1.
7.2
)
Git (>= 1.
6
)
http://git-scm.com/
python-social-auth (>= 0.1.17, < 0.1.24)
http://psa.matiasaguirre.net/
...
...
weblate/requirements.py
View file @
9a9fe67a
...
...
@@ -135,7 +135,7 @@ def get_versions():
'Git'
,
'http://git-scm.com/'
,
GitRepository
.
get_version
(),
'1.
7.2
'
,
'1.
6
'
,
))
name
=
'South'
...
...
weblate/trans/vcs.py
View file @
9a9fe67a
...
...
@@ -302,10 +302,10 @@ class GitRepository(Repository):
Returns dictionary with detailed revision information.
"""
text
=
self
.
execute
([
'show'
,
'log'
,
'-1'
,
'--format=fuller'
,
'--date=rfc'
,
'--no-patch'
,
'--abbrev-commit'
,
revision
])
...
...
@@ -439,14 +439,11 @@ class GitRepository(Repository):
self
.
execute
([
'remote'
,
'set-url'
,
'origin'
,
'--push'
,
push_url
])
# Set branch to track
try
:
self
.
execute
(
[
'remote'
,
'set-branches'
,
'origin'
,
branch
]
)
except
RepositoryException
:
self
.
execute
(
[
'remote'
,
'set-branches'
,
'--add'
,
'origin'
,
branch
]
)
self
.
execute
([
'config'
,
'remote.origin.fetch'
,
'+refs/heads/{0}:refs/remotes/origin/{0}'
.
format
(
branch
)
])
def
configure_branch
(
self
,
branch
):
"""
...
...
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