Diff
Not logged in

Differences From:

File src/info.c part of check-in [3dcaed8d86] - When accessing a remote repository, if there is a username/password specified as part of the URI, use these to login. by dan on 2007-07-28 07:09:25. Also file src/info.c part of check-in [3a25b68390] - Only request the password one time on a push or pull. by drh on 2007-07-30 16:35:16. [view]

To:

File src/info.c part of check-in [fd36718ad9] - Add the new "history" permission. Merge in changes that require permissions to view the timeline. by drh on 2007-07-31 23:33:15. [view]

@@ -117,8 +117,10 @@
   int rid;
   char cType;
   char *zType;
 
+  login_check_credentials();
+  if( !g.okHistory ){ login_needed(); return; }
   style_header("Version Information");
   rid = name_to_rid(g.zExtra);
   if( rid==0 ){
     @ No such object: %h(g.argv[2])