Check-in [8040619968]
Not logged in
Overview

SHA1 Hash:80406199683aebf6a2fe7f539dabc907f15bac54
Date: 2008-11-27 22:58:53
User: drh
Comment:Fix the Setup->Shunned->Rebuild button so that it works when the "fossil ui" command is run from within a check-out and without specifying the repository filename.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/shun.c from [f707294883] to [ffc8251555].

@@ -54,10 +54,12 @@
   login_check_credentials();
   if( !g.okAdmin ){
     login_needed();
   }
   if( P("rebuild") ){
+    db_close();
+    db_open_repository(g.zRepositoryName);
     db_begin_transaction();
     rebuild_db(0,0);
     db_end_transaction(0);
   }
   if( zUuid ){