0ac694cd00be11bb7ccf3a678e3d8af7fecce04b
galt
  Wed Aug 12 12:16:05 2015 -0700
Cleaning up by removing hgsqlLocal and hgsqldumpLocal and references to them. These are obsolete both because Jing says they are not used by Cancer browser anymore, not does our documentation refer to it, nor do the makefiles and scripts actually work anymore, and finally because hgsql now has -profile=localDb option.  Jing says it is OK to nuke this old junk. Of course it will live in history as it should.

diff --git src/hg/hgsqlLocal/hgsqlLocal.c src/hg/hgsqlLocal/hgsqlLocal.c
deleted file mode 100644
index e3f19ec..0000000
--- src/hg/hgsqlLocal/hgsqlLocal.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/* hgsql - Execute some sql code using passwords in .hg.conf. */
-
-/* Copyright (C) 2011 The Regents of the University of California 
- * See README in this or parent directory for licensing information. */
-#include "common.h"
-#include "options.h"
-#include "hgConfig.h"
-#include "sqlProg.h"
-
-
-void usage()
-/* Explain usage and exit. */
-{
-errAbort(
-  "hgsqlLocal - Execute some sql code using localDb.XXX in .hg.conf\n"
-  "usage:\n"
-  "   hgsqlLocal [mysqlOptions] [database]\n"
-  "or:\n"
-  "   hgsqlLocal [mysqlOptions] [database] < file.sql\n"
-  "Generally anything in command line is passed to mysql\n"
-  "after an implicit '-A -u user -ppassword'.  If no options\n"
-  "or database is specified, this usage message is printed."
-  "\n"
-  );
-}
-
-void hgsqlLocal(int argc, char *argv[])
-/* hgsql - Execute some sql code using passwords in .hg.conf. */
-{
-static char *progArgs[] = {"-A", NULL};
-sqlExecProgLocal("mysql", progArgs, argc, argv);
-}
-
-int main(int argc, char *argv[])
-/* Process command line. */
-{
-if (argc <= 1)
-    usage();
-hgsqlLocal(argc-1, argv+1);
-return 0;  /* never reaches here */
-}