# HG changeset patch # User HIROSE Yuuji # Date 1527726166 -32400 # Node ID 5cc303fb927ca3a84db5cf1eff407ee25c836e5b # Parent d10e53367feff978ea70bd07308f73e34774018b Target "sync" revived for CVS repo. diff -r d10e53367fef -r 5cc303fb927c makefile --- a/makefile Wed May 30 23:24:32 2018 +0900 +++ b/makefile Thu May 31 09:22:46 2018 +0900 @@ -233,9 +233,8 @@ RSYNCDIR = ${HOME}/http/yatex/rsync/yatex -#sync: -# @-mkdir ${PACKDIR} -# @tar cf - ${PACK} | (cd ${PACKDIR}; tar xf -) -# syncdir -A -x CVS ${PACKDIR} ${RSYNCDIR} -# (cd ${RSYNCDIR}; cvs ci -m '') -# rm -rf ${PACKDIR} +sync: + hg archive ${PACKDIR} + syncdir -A -x CVS ${PACKDIR} ${RSYNCDIR} + (cd ${RSYNCDIR} && cvs ci -m '') + rm -rf ${PACKDIR}