Check-in [614519b46c]
Not logged in
Overview

SHA1 Hash:614519b46cb7cbf465ce9938294ef145a51d6296
Date: 2009-08-22 19:15:49
User: drh
Comment:Get the -R option working on the remote-url command.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/sync.c from [5eb1f32d91] to [83eeccbf31].

@@ -170,11 +170,11 @@
 ** "pull" that omit the server URL.
 */
 void remote_url_cmd(void){
   char *zUrl;
   int showPw = find_option("show-pw",0,0)!=0;
-  db_must_be_within_tree();
+  db_find_and_open_repository(1);
   if( g.argc!=2 && g.argc!=3 ){
     usage("remote-url ?URL|off?");
   }
   if( g.argc==3 ){
     if( strcmp(g.argv[2],"off")==0 ){