Fossil SCM

fix [3b1533a090eebd09da7121ab3fc9e3f6a7fbd6f5] - add "Sync now" to Admin page

ron 2010-01-27 07:52 UTC trunk
Commit fc23960258211b5bc752a82c429d5fb3f3286b67
1 file changed +12
+12
--- src/setup.c
+++ src/setup.c
@@ -86,10 +86,12 @@
8686
"Show artifacts that are shunned by this repository");
8787
setup_menu_entry("Log", "rcvfromlist",
8888
"A record of received artifacts and their sources");
8989
setup_menu_entry("Stats", "stat",
9090
"Display repository statistics");
91
+ setup_menu_entry("Sync now", "setup_sync",
92
+ "Sync this repository with the 'remote-url' it was set up with");
9193
@ </table>
9294
9395
style_footer();
9496
}
9597
@@ -1137,5 +1139,15 @@
11371139
@ changing the logo to provoke your browser to reload the new logo image.
11381140
@ </p>
11391141
style_footer();
11401142
db_end_transaction(0);
11411143
}
1144
+
1145
+/*
1146
+** WEBPAGE: setup_sync
1147
+*/
1148
+void setup_sync(void){
1149
+ sync_cmd();
1150
+ style_header("Synchronized");
1151
+ @ <p>The project has been synchronized</p>
1152
+ style_footer();
1153
+}
11421154
--- src/setup.c
+++ src/setup.c
@@ -86,10 +86,12 @@
86 "Show artifacts that are shunned by this repository");
87 setup_menu_entry("Log", "rcvfromlist",
88 "A record of received artifacts and their sources");
89 setup_menu_entry("Stats", "stat",
90 "Display repository statistics");
 
 
91 @ </table>
92
93 style_footer();
94 }
95
@@ -1137,5 +1139,15 @@
1137 @ changing the logo to provoke your browser to reload the new logo image.
1138 @ </p>
1139 style_footer();
1140 db_end_transaction(0);
1141 }
 
 
 
 
 
 
 
 
 
 
1142
--- src/setup.c
+++ src/setup.c
@@ -86,10 +86,12 @@
86 "Show artifacts that are shunned by this repository");
87 setup_menu_entry("Log", "rcvfromlist",
88 "A record of received artifacts and their sources");
89 setup_menu_entry("Stats", "stat",
90 "Display repository statistics");
91 setup_menu_entry("Sync now", "setup_sync",
92 "Sync this repository with the 'remote-url' it was set up with");
93 @ </table>
94
95 style_footer();
96 }
97
@@ -1137,5 +1139,15 @@
1139 @ changing the logo to provoke your browser to reload the new logo image.
1140 @ </p>
1141 style_footer();
1142 db_end_transaction(0);
1143 }
1144
1145 /*
1146 ** WEBPAGE: setup_sync
1147 */
1148 void setup_sync(void){
1149 sync_cmd();
1150 style_header("Synchronized");
1151 @ <p>The project has been synchronized</p>
1152 style_footer();
1153 }
1154

Keyboard Shortcuts

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