Compare commits

...

3 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
cb33b9bab7 Release version 0.13.2 2017-05-06 14:14:08 -06:00
Jose Diaz-Gonzalez
68c48cb0b3 Merge pull request #64 from karlicoss/fix-remotes
Fix remotes while updating repository
2017-05-06 14:13:46 -06:00
Dima Gerasimov
922a3c5a6e Fix remotes while updating repository 2017-05-06 12:58:42 +01:00
3 changed files with 7 additions and 2 deletions

View File

@@ -1,6 +1,11 @@
Changelog Changelog
========= =========
0.13.2 (2017-05-06)
-------------------
- Fix remotes while updating repository. [Dima Gerasimov]
0.13.1 (2017-04-11) 0.13.1 (2017-04-11)
------------------- -------------------

View File

@@ -769,7 +769,7 @@ def fetch_repository(name,
remotes = subprocess.check_output(['git', 'remote', 'show'], remotes = subprocess.check_output(['git', 'remote', 'show'],
cwd=local_dir) cwd=local_dir)
remotes = [i.strip() for i in remotes.decode('utf-8')] remotes = [i.strip() for i in remotes.decode('utf-8').splitlines()]
if 'origin' not in remotes: if 'origin' not in remotes:
git_command = ['git', 'remote', 'rm', 'origin'] git_command = ['git', 'remote', 'rm', 'origin']

View File

@@ -1 +1 @@
__version__ = '0.13.1' __version__ = '0.13.2'