Just a heads up, Dan found a small problem with the search wad put back 
where it wasn't displaying the right error message when no index was 
present.

He's looked at the diffs (3 lines) which are about to be pushed back.

Just wanted to let everyone know what was going on.

Here's the bug:
http://defect.opensolaris.org/bz/show_bug.cgi?id=2679

And here's the diff:

[EMAIL PROTECTED]:/export~/IPS/bug-2679/src$ hg diff -r 430 -r 431
diff -r 3fb945d3bff3 -r 7138d94688c9 src/client.py
--- a/src/client.py    Fri Jul 25 15:08:06 2008 -0700
+++ b/src/client.py    Fri Jul 25 18:54:05 2008 -0700
@@ -702,12 +702,12 @@
                         searches.append(img.local_search(pargs))
                 except search_errors.NoIndexException, nie:
                         error(str(nie) +
-                            "\nPlease try pkg rebuild-index to recreate 
the " +
+                            "\nPlease try 'pkg rebuild-index' to 
recreate the " +
                             "index.")
                         return 1
                 except search_errors.InconsistentIndexException, iie:
                         error("The search index appears corrupted.  
Please "
-                            "rebuild the index with pkg rebuild-index.")
+                            "rebuild the index with 'pkg rebuild-index'.")
                         return 1
 
 
diff -r 3fb945d3bff3 -r 7138d94688c9 src/modules/query_engine.py
--- a/src/modules/query_engine.py    Fri Jul 25 15:08:06 2008 -0700
+++ b/src/modules/query_engine.py    Fri Jul 25 18:54:05 2008 -0700
@@ -25,6 +25,7 @@
 import fnmatch
 
 import pkg.search_storage as ss
+import pkg.search_errors as search_errors
 
 FILE_OPEN_TIMEOUT_SECS = 5
 
Thanks,
Brock
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to