From 74f9d924c286246292ecae5a1edc4cda193c3d61 Mon Sep 17 00:00:00 2001 From: agb80 <atin81@gmail.com> Date: Mon, 23 Dec 2013 21:54:58 -0600 Subject: [PATCH] Fix bzr mirrors not updating --- update_mirror.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update_mirror.sh b/update_mirror.sh index 0dae45c..304d5cf 100755 --- a/update_mirror.sh +++ b/update_mirror.sh @@ -55,6 +55,10 @@ if git config --get svn-remote.svn.url &> /dev/null;then fi set -e git config --bool core.bare false +elseif -d ".git/bzr" + #this is an BZR mirror so update it accordingly + git pull --ff-only + git push gitlab else #just a git mirror so mirror it accordingly git fetch -- GitLab