From b93cc56e4c84d078c1739f2d9afd453740275d70 Mon Sep 17 00:00:00 2001
From: Sam Gleske <sag47@drexel.edu>
Date: Sat, 9 Nov 2013 22:50:14 -0500
Subject: [PATCH] bzr still broken, improving

I've made some improvements to bazaar repository support.
However, the support just isn't there yet.  I get
multiple errors.
---
 CHANGELOG.md          | 1 +
 add_mirror.sh         | 4 ++--
 docs/prerequisites.md | 8 ++++++++
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index dd1364b..8b4a2b3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,7 @@ gitlab-mirrors v0.3.1
 
 * Added contributing guidelines
 * Added getting help to README.
+* Bazaar repository mirroring supported.
 
 ---
 ## gitlab-mirrors v0.3.0
diff --git a/add_mirror.sh b/add_mirror.sh
index 02e33eb..e0843a7 100755
--- a/add_mirror.sh
+++ b/add_mirror.sh
@@ -52,6 +52,8 @@ DESCRIPTION:
                      An authors file to pass to git-svn for mapping
                      SVN users to git users.
 
+  --bzr              Mirror a Bazaar repository (must be explicitly set)
+
   -f,--force         Force add project even if it already exists.
                      Any program errors will automatically continue.
 
@@ -64,8 +66,6 @@ DESCRIPTION:
 
   --svn              Mirror a SVN repository (must be explicitly set)
 
-  --bzr              Mirror a Bazaar repository (must be explicitly set)
-
 EOF
 }
 #Short options are one letter.  If an argument follows a short opt then put a colon (:) after it
diff --git a/docs/prerequisites.md b/docs/prerequisites.md
index a2cfb48..a4c0bb8 100644
--- a/docs/prerequisites.md
+++ b/docs/prerequisites.md
@@ -39,6 +39,14 @@ You can find the source to git at the [git-core project][5].  For instructions o
 
 Your git should now be located in `/usr/local/bin/git`.  You should edit `/etc/profile` and place `/usr/local/bin` at the beginning of your `$PATH`.
 
+git-bzr-helper
+
+    sudo -i -u gitmirror
+    sudo apt-get install python-rope
+    mkdir ~/bin
+    wget https://raw.github.com/felipec/git/fc/master/git-remote-hg.py -O ~/bin/git-remote-bzr
+    chmod 755 ~bin/git-remote-bzr
+
 ---
 Next up is [Installation and Setup](installation.md).
 
-- 
GitLab