aboutsummaryrefslogtreecommitdiffstats
path: root/bug/bug_actions.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/bug_actions.go')
-rw-r--r--bug/bug_actions.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/bug/bug_actions.go b/bug/bug_actions.go
index 30fc9876..d4d5fe98 100644
--- a/bug/bug_actions.go
+++ b/bug/bug_actions.go
@@ -107,6 +107,11 @@ func MergeAll(repo repository.Repo, remote string) <-chan MergeResult {
localRef := bugsRefPattern + remoteBug.Id()
localExist, err := repo.RefExist(localRef)
+ if err != nil {
+ out <- newMergeError(id, err)
+ continue
+ }
+
// the bug is not local yet, simply create the reference
if !localExist {
err := repo.CopyRef(remoteRef, localRef)