Differences From:
File
src/clone.c
part of check-in
[0c6ea0d93f]
- When creating a new repository or cloning a repository, print the
initial administrator password on standard output. This is intended
to help new users figure out how to log in. Ticket ca08d51f19
by
drh on
2008-11-20 01:07:10.
[view]
To:
File
src/clone.c
part of check-in
[945ecd1a8b]
- Add support for "file:" URLs on push, pull, and sync.
by
drh on
2009-04-11 12:51:44.
[view]
@@ -56,8 +56,11 @@
db_record_repository_filename(g.argv[3]);
db_multi_exec(
"REPLACE INTO config(name,value)"
" VALUES('server-code', lower(hex(randomblob(20))));"
+ "REPLACE INTO config(name,value)"
+ " VALUES('last-sync-url', 'file://%q');",
+ g.urlName
);
g.zLogin = db_text(0, "SELECT login FROM user WHERE cap LIKE '%%s%%'");
if( g.zLogin==0 ){
db_create_default_users(1);