[Frugalware-darcs] pacman-tools: fwmirror: git support

VMiklos vmiklos at frugalware.org
Sun Jul 1 01:50:56 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman-tools;a=darcs_commitdiff;h=20070630233749-e2957-518d42e8454d13c56df6283a10954461a5936dc7.gz;

[fwmirror: git support
VMiklos <vmiklos at frugalware.org>**20070630233749
 removed unused -l and -n options
] {
hunk ./fwmirror 22
-	echo "The following options are for developers and they're ignored when
-	the source is not mirrored:"
-	echo "  -l <login>       Your login, used for generating
-	_darcs/prefs/author and _darcs/prefs/defaultrepo."
-	echo "  -n <name>        Your name, used when generating
-	_darcs/prefs/author after mirroring is finished."
-	echo
hunk ./fwmirror 129
-	rsync_opts="$rsync_opts --exclude /source/ --exclude /_darcs/"
+	rsync_opts="$rsync_opts --exclude /source/ --exclude /_darcs/ --exclude /.git/"
hunk ./fwmirror 136
-	if in_array source ${myarchs[@]}; then
-		echo "$name <$login at frugalware.org>" \
-			>"$dir/frugalware-$i/_darcs/prefs/author"
-		echo "$login at darcs.frugalware.org:/home/ftp/pub/frugalware/frugalware-$i" \
-			>"$dir/frugalware-$i/_darcs/prefs/defaultrepo"
-	fi
}


More information about the Frugalware-darcs mailing list