Diff
Not logged in

Differences From:

File src/sync.c part of check-in [9cbef7a104] - In the "remote-url" command, omit the userid and password from the URL unless the "--show-pw" command-line option is used. by drh on 2009-08-13 14:36:54. [view]

To:

File src/sync.c part of check-in [614519b46c] - Get the -R option working on the remote-url command. by drh on 2009-08-22 19:15:49. [view]

@@ -171,9 +171,9 @@
 */
 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 ){