Author: saces
Date: 2008-08-28 21:41:39 +0000 (Thu, 28 Aug 2008)
New Revision: 22204
Modified:
trunk/apps/pyFreenetHg/FreenetHg.py
trunk/apps/pyFreenetHg/ReadMe.html
Log:
use "hg fcp-updatestatic" to upload without commit (repeat last upload if failed eg)
Modified: trunk/apps/pyFreenetHg/FreenetHg.py
===================================================================
--- trunk/apps/pyFreenetHg/FreenetHg.py 2008-08-28 20:12:17 UTC (rev 22203)
+++ trunk/apps/pyFreenetHg/FreenetHg.py 2008-08-28 21:41:39 UTC (rev 22204)
@@ -212,11 +212,11 @@
pass
def fcp_updatestatic(ui, repo, **opts):
- """update the repo in freenet for access via static-http (not implemented jet)
+ """update the repo in freenet for access via static-http
"""
- pass
-
+ updatestatic_hook(ui, repo, None, **opts)
+
def updatestatic_hook(ui, repo, hooktype, node=None, source=None, **kwargs):
"""update static """
Modified: trunk/apps/pyFreenetHg/ReadMe.html
===================================================================
--- trunk/apps/pyFreenetHg/ReadMe.html 2008-08-28 20:12:17 UTC (rev 22203)
+++ trunk/apps/pyFreenetHg/ReadMe.html 2008-08-28 21:41:39 UTC (rev 22204)
@@ -22,7 +22,7 @@
hg fcp-bundle -> wraps around hg bundle and put a chk/usk instead a local file
hg fcp-unbundle (not yet) -> wraps around hg unbundle and get it from a chk/usk instead a local file
hg fcp-makestatic (not yet) -> create a site thats accessible via
static-http://127.0.0.1:8888/freenetkey
- hg fcp-updatestatic (not yet) -> update a site, see install/config
+ hg fcp-updatestatic -> do a commit hook upload, useful if the insert started from commit hook was failed
hooks:
updatestatic_hook -> does a full upload on each commit