2009/7/12 Andrew Bennetts <email address hidden>: > === modified file 'bzrlib/urlutils.py' > --- bzrlib/urlutils.py 2009-04-24 05:08:51 +0000 > +++ bzrlib/urlutils.py 2009-07-12 06:25:28 +0000 > @@ -75,9 +75,9 @@ > This assumes that both paths are already fully specified file:// URLs. > """ > if len(base) < MIN_ABS_FILEURL_LENGTH: > - raise ValueError('Length of base must be equal or' > + raise ValueError('Length of base (%r) must equal or' > ' exceed the platform minimum url length (which is %d)' % > - MIN_ABS_FILEURL_LENGTH) > + (base, MIN_ABS_FILEURL_LENGTH)) > base = local_path_from_url(base) > path = local_path_from_url(path) > return escape(osutils.relpath(base, path))
+1
-- Martin <http://launchpad.net/~mbp/>
2009/7/12 Andrew Bennetts <email address hidden>: urlutils. py' FILEURL_ LENGTH: FILEURL_ LENGTH) FILEURL_ LENGTH) ) from_url( base) from_url( path) osutils. relpath( base, path))
> === modified file 'bzrlib/
> --- bzrlib/urlutils.py 2009-04-24 05:08:51 +0000
> +++ bzrlib/urlutils.py 2009-07-12 06:25:28 +0000
> @@ -75,9 +75,9 @@
> This assumes that both paths are already fully specified file:// URLs.
> """
> if len(base) < MIN_ABS_
> - raise ValueError('Length of base must be equal or'
> + raise ValueError('Length of base (%r) must equal or'
> ' exceed the platform minimum url length (which is %d)' %
> - MIN_ABS_
> + (base, MIN_ABS_
> base = local_path_
> path = local_path_
> return escape(
+1
-- launchpad. net/~mbp/>
Martin <http://