[jhbuild] fix for using bzr with dvcs_mirror_dir (GNOME bug 672172)



commit 04e72911a2e5913fac2ef6d3af2efceed6d5661c
Author: Marcin Wojdyr <wojdyr gmail com>
Date:   Thu Mar 15 18:09:40 2012 +0000

    fix for using bzr with dvcs_mirror_dir (GNOME bug 672172)
    
    fixed undefined variable error (mirror_href)

 jhbuild/versioncontrol/bzr.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/versioncontrol/bzr.py b/jhbuild/versioncontrol/bzr.py
index 4552668..db9b797 100644
--- a/jhbuild/versioncontrol/bzr.py
+++ b/jhbuild/versioncontrol/bzr.py
@@ -175,7 +175,7 @@ Path %s does not seem to be a checkout from dvcs_mirror_dir.
 Remove it or change your dvcs_mirror_dir settings.""") % self.srcdir)
 
         else:
-            cmd = ['bzr', 'co', '--light', mirror_href, self.srcdir]
+            cmd = ['bzr', 'co', '--light', local_mirror, self.srcdir]
             buildscript.execute(cmd)
 
     def _checkout(self, buildscript, copydir=None):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]