Fossil

Check-in [602d5f9c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Use the auto-shun setting, not auto-sync, to automatically transfer shuns. Ticket [dd5bb1fc73ec6ee8]
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 602d5f9cde9ce7556e1d2e1448bcc1b81bd423ad
User & Date: drh 2011-04-14 01:20:20
Context
2011-04-14
02:08
Add a "diff" hyperlink after each file in the "Show Files" view of the timeline. check-in: 6d9bba56 user: drh tags: trunk
01:20
Use the auto-shun setting, not auto-sync, to automatically transfer shuns. Ticket [dd5bb1fc73ec6ee8] check-in: 602d5f9c user: drh tags: trunk
01:05
Merge Arjen's documentation updates into trunk. check-in: b0d15105 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/sync.c.

100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
  *pPrivate = find_option("private",0,0)!=0;
  url_proxy_options();
  db_find_and_open_repository(0, 0);
  db_open_config(0);
  if( g.argc==2 ){
    zUrl = db_get("last-sync-url", 0);
    zPw = unobscure(db_get("last-sync-pw", 0));
    if( db_get_boolean("auto-sync",1) ) configSync = CONFIGSET_SHUN;
  }else if( g.argc==3 ){
    zUrl = g.argv[2];
  }
  if( zUrl==0 ){
    if( urlOptional ) fossil_exit(0);
    usage("URL");
  }







|







100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
  *pPrivate = find_option("private",0,0)!=0;
  url_proxy_options();
  db_find_and_open_repository(0, 0);
  db_open_config(0);
  if( g.argc==2 ){
    zUrl = db_get("last-sync-url", 0);
    zPw = unobscure(db_get("last-sync-pw", 0));
    if( db_get_boolean("auto-shun",1) ) configSync = CONFIGSET_SHUN;
  }else if( g.argc==3 ){
    zUrl = g.argv[2];
  }
  if( zUrl==0 ){
    if( urlOptional ) fossil_exit(0);
    usage("URL");
  }