From e3c6cdf54b931e1bf2d3e6b3dde247531f2ec32e Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 21 Apr 2014 17:27:28 -0400 Subject: [PATCH 1/2] Fix a bug when handling errors during a fetch. --- gitup/update.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gitup/update.py b/gitup/update.py index 9ef7d42..07147db 100644 --- a/gitup/update.py +++ b/gitup/update.py @@ -92,12 +92,13 @@ def _fetch_remotes(remotes): msg = err.command[0].replace("Error when fetching: ", "") if not msg.endswith("."): msg += "." - print(RED + "error:", msg) + print(":", RED + "error:", msg) return except AssertionError: # Seems to be the result of a bug in GitPython # This happens when git initiates an auto-gc during fetch: - print(RED + "error:", "something went wrong in GitPython,", + print(":", RED + "error:", "something went wrong in GitPython,", "but the fetch might have been successful.") + return rlist = [] for attr, singular, plural in info: names = [_get_name(res.ref) From 99be34e55643dc03a563bd152be0060e426dd6a0 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 21 Apr 2014 17:28:39 -0400 Subject: [PATCH 2/2] release/0.2.1 --- gitup/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitup/__init__.py b/gitup/__init__.py index a361042..9cac1d4 100644 --- a/gitup/__init__.py +++ b/gitup/__init__.py @@ -10,5 +10,5 @@ gitup: the git repository updater __author__ = "Ben Kurtovic" __copyright__ = "Copyright (C) 2011-2014 Ben Kurtovic" __license__ = "MIT License" -__version__ = "0.2" +__version__ = "0.2.1" __email__ = "ben.kurtovic@gmail.com"