Rev 6289: Fix windows test regressions about locations.conf handling in file:///home/vila/src/bzr/bugs/892992-locations-on-windows/

Vincent Ladeuil v.ladeuil+lp at free.fr
Thu Nov 24 14:30:59 UTC 2011


At file:///home/vila/src/bzr/bugs/892992-locations-on-windows/

------------------------------------------------------------
revno: 6289
revision-id: v.ladeuil+lp at free.fr-20111124143059-txpz17n9sle39suh
parent: pqm at pqm.ubuntu.com-20111124134044-fxzjs2iro5obaax9
fixes bug: https://launchpad.net/bugs/892992
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 892992-locations-on-windows
timestamp: Thu 2011-11-24 15:30:59 +0100
message:
  Fix windows test regressions about locations.conf handling
-------------- next part --------------
=== modified file 'bzrlib/config.py'
--- a/bzrlib/config.py	2011-11-22 13:27:04 +0000
+++ b/bzrlib/config.py	2011-11-24 14:30:59 +0000
@@ -3397,10 +3397,8 @@
         
         :param location: A URL prefix to """
         lstore = LocationStore()
-        if location is not None:
-            location = urlutils.normalize_url(location)
-            if location.startswith('file://'):
-                location = urlutils.local_path_from_url(location)
+        if location.startswith('file://'):
+            location = urlutils.local_path_from_url(location)
         matcher = LocationMatcher(lstore, location)
         gstore = GlobalStore()
         super(LocationStack, self).__init__(

=== modified file 'doc/en/release-notes/bzr-2.5.txt'
--- a/doc/en/release-notes/bzr-2.5.txt	2011-11-24 13:15:51 +0000
+++ b/doc/en/release-notes/bzr-2.5.txt	2011-11-24 14:30:59 +0000
@@ -47,6 +47,14 @@
   remote ones. See ``bzr help configuration`` for more details.
   (Vincent Ladeuil, #843211)
 
+* Fix test failures on windows related to locations.conf handling.
+  (Vincent Ladeuil, #892992)
+
+* Fixed parsing of the timestamp given to ``commit --commit-time``. Now
+  prohibits several invalid strings, reads the correct number of seconds,
+  and gives a better error message if the time zone offset is not given.
+  (Matt Giuca, #892657)
+
 * Resolve regression from colocated branch path handling, by ensuring that
   unreserved characters are unquoted in URLs. (Martin Packman, #842223)
 
@@ -59,11 +67,6 @@
 * Support verifying signatures on remote repositories.
   (Jelmer Vernooij, #889694)
 
-* Fixed parsing of the timestamp given to ``commit --commit-time``. Now
-  prohibits several invalid strings, reads the correct number of seconds,
-  and gives a better error message if the time zone offset is not given.
-  (Matt Giuca, #892657)
-
 Documentation
 *************
 



More information about the bazaar-commits mailing list