[PATCH] D40704: Remove `lnt update` command.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 14:55:29 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL319982:  Remove `lnt update` command. (authored by fhahn).

Changed prior to commit:
  https://reviews.llvm.org/D40704?vs=125518&id=125820#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D40704

Files:
  lnt/trunk/lnt/lnttool/main.py


Index: lnt/trunk/lnt/lnttool/main.py
===================================================================
--- lnt/trunk/lnt/lnttool/main.py
+++ lnt/trunk/lnt/lnttool/main.py
@@ -199,17 +199,6 @@
         sys.exit(1)
 
 
- at click.command("update")
- at click.argument("db_path")
- at click.option("--show-sql", is_flag=True, help="show all SQL queries")
-def action_update(db_path, show_sql):
-    """create and or auto-update the given database"""
-    init_logger(logging.INFO, show_sql=show_sql, stream=sys.stderr)
-
-    # Update the database.
-    lnt.server.db.migrate.update_path(db_path)
-
-
 @click.command("send-daily-report")
 @click.argument("instance_path", type=click.UNPROCESSED)
 @click.argument("address")
@@ -511,7 +500,6 @@
 main.add_command(action_send_run_comparison)
 main.add_command(action_showtests)
 main.add_command(action_submit)
-main.add_command(action_update)
 main.add_command(action_updatedb)
 main.add_command(action_view_comparison)
 main.add_command(group_admin)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40704.125820.patch
Type: text/x-patch
Size: 990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171206/ce67c261/attachment.bin>


More information about the llvm-commits mailing list