Fossil SCM

Use the auto-shun setting, not auto-sync, to automatically transfer shuns. Ticket [dd5bb1fc73ec6ee8]

drh 2011-04-14 01:20 trunk
Commit 602d5f9cde9ce7556e1d2e1448bcc1b81bd423ad
1 file changed +1 -1
+1 -1
--- src/sync.c
+++ src/sync.c
@@ -102,11 +102,11 @@
102102
db_find_and_open_repository(0, 0);
103103
db_open_config(0);
104104
if( g.argc==2 ){
105105
zUrl = db_get("last-sync-url", 0);
106106
zPw = unobscure(db_get("last-sync-pw", 0));
107
- if( db_get_boolean("auto-sync",1) ) configSync = CONFIGSET_SHUN;
107
+ if( db_get_boolean("auto-shun",1) ) configSync = CONFIGSET_SHUN;
108108
}else if( g.argc==3 ){
109109
zUrl = g.argv[2];
110110
}
111111
if( zUrl==0 ){
112112
if( urlOptional ) fossil_exit(0);
113113
--- src/sync.c
+++ src/sync.c
@@ -102,11 +102,11 @@
102 db_find_and_open_repository(0, 0);
103 db_open_config(0);
104 if( g.argc==2 ){
105 zUrl = db_get("last-sync-url", 0);
106 zPw = unobscure(db_get("last-sync-pw", 0));
107 if( db_get_boolean("auto-sync",1) ) configSync = CONFIGSET_SHUN;
108 }else if( g.argc==3 ){
109 zUrl = g.argv[2];
110 }
111 if( zUrl==0 ){
112 if( urlOptional ) fossil_exit(0);
113
--- src/sync.c
+++ src/sync.c
@@ -102,11 +102,11 @@
102 db_find_and_open_repository(0, 0);
103 db_open_config(0);
104 if( g.argc==2 ){
105 zUrl = db_get("last-sync-url", 0);
106 zPw = unobscure(db_get("last-sync-pw", 0));
107 if( db_get_boolean("auto-shun",1) ) configSync = CONFIGSET_SHUN;
108 }else if( g.argc==3 ){
109 zUrl = g.argv[2];
110 }
111 if( zUrl==0 ){
112 if( urlOptional ) fossil_exit(0);
113

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button