Differences From:
File
src/sync.c
part of check-in
[7a2c37063a]
- merge trunk into creole branch
by
bob on
2009-09-22 07:49:39.
Also file
src/sync.c
part of check-in
[6a40733531]
- Update "help" comments for clone, push, pull, sync, and remote-url commands.
by
drh on
2009-09-04 20:19:00.
[view]
To:
File
src/sync.c
part of check-in
[11ecd5c0b5]
- Fix the "remote-url" command so that it preserves the userid and password.
Ticket 68c7f7bee951302.
by
drh on
2009-10-31 14:03:49.
[view]
@@ -184,9 +184,9 @@
if( strcmp(g.argv[2],"off")==0 ){
db_unset("last-sync-url", 0);
}else{
url_parse(g.argv[2]);
- db_set("last-sync-url", g.urlCanonical, 0);
+ db_set("last-sync-url", g.urlIsFile ? g.urlCanonical : g.argv[2], 0);
}
}
zUrl = db_get("last-sync-url", 0);
if( zUrl==0 ){