pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/bzr-svn/patches Oops, forgot new patch.
details: https://anonhg.NetBSD.org/pkgsrc/rev/5603c436e6c7
branches: trunk
changeset: 395012:5603c436e6c7
user: epg <epg%pkgsrc.org@localhost>
date: Thu Jul 02 05:31:42 2009 +0000
description:
Oops, forgot new patch.
diffstat:
devel/bzr-svn/patches/patch-aa | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diffs (36 lines):
diff -r a50ae48f7a39 -r 5603c436e6c7 devel/bzr-svn/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/bzr-svn/patches/patch-aa Thu Jul 02 05:31:42 2009 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-aa,v 1.1 2009/07/02 05:31:42 epg Exp $
+
+Fix some errors when running tests without TDB support.
+
+--- tests/test_cache.py.orig 2009-06-18 06:22:27.000000000 -0700
++++ tests/test_cache.py
+@@ -134,7 +134,7 @@ class TdbRevidMapCacheTests(TestCaseInTe
+ try:
+ from bzrlib.plugins.svn.cache.tdbcache import RevisionIdMapCache, tdb_open
+ except ImportError:
+- raise UnavailableFeature
++ raise UnavailableFeature("TDB")
+ import tdb
+ self.cache = RevisionIdMapCache(tdb_open("cache.tdb", 0, tdb.DEFAULT, os.O_RDWR|os.O_CREAT))
+
+@@ -191,7 +191,7 @@ class TdbRevInfoCacheTests(TestCaseInTem
+ try:
+ from bzrlib.plugins.svn.cache.tdbcache import RevisionInfoCache, tdb_open
+ except ImportError:
+- raise UnavailableFeature
++ raise UnavailableFeature("TDB")
+ import tdb
+ self.cache = RevisionInfoCache(tdb_open("cache.tdb", 0, tdb.DEFAULT, os.O_RDWR|os.O_CREAT))
+
+@@ -234,6 +234,6 @@ class TdbParentsCacheTests(TestCaseInTem
+ try:
+ from bzrlib.plugins.svn.cache.tdbcache import ParentsCache, tdb_open
+ except ImportError:
+- raise UnavailableFeature
++ raise UnavailableFeature("TDB")
+ import tdb
+ self.cache = ParentsCache(tdb_open("cache.tdb", 0, tdb.DEFAULT, os.O_RDWR|os.O_CREAT))
Home |
Main Index |
Thread Index |
Old Index