Rev 410: Fix warning, thanks metze in file:///home/jelmer/bzr-svn/0.3/

Jelmer Vernooij jelmer at samba.org
Wed Jan 24 12:58:39 GMT 2007


------------------------------------------------------------
revno: 410
revision-id: jelmer at samba.org-20070124125822-cnzucxd5i9nhmgvy
parent: jelmer at samba.org-20070120193547-uaovrc0qedo1q76x
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.3
timestamp: Wed 2007-01-24 13:58:22 +0100
message:
  Fix warning, thanks metze
modified:
  __init__.py                    __init__.py-20051008155114-eae558e6cf149e1d
=== modified file '__init__.py'
--- a/__init__.py	2007-01-20 19:35:47 +0000
+++ b/__init__.py	2007-01-24 12:58:22 +0000
@@ -23,7 +23,7 @@
 import bzrlib
 
 __version__ = '0.3.0'
-required_bzr_version = (0,14)
+required_bzr_version = (0,15)
 
 def check_bzrlib_version(desired):
     """Check that bzrlib is compatible.
@@ -105,6 +105,7 @@
 subr_version = svn.core.svn_subr_version()
 
 if subr_version.major == 1 and subr_version.minor < 4:
+    from bzrlib.trace import warning
     warning('Subversion version too old for working tree support.')
 else:
     BzrDirFormat.register_control_format(checkout.SvnWorkingTreeDirFormat)




More information about the bazaar-commits mailing list