#!/bin/bash

# Author: Ben Wing <ben@xemacs.org>

# Generate merge-#### directories, for the various GNU Emacs versions that
# the XEmacs files have been synched with.  To sync up to the latest version,
# copy the XEmacs file into the appropriate merge directory for the version
# that it was previously synched with, and do 'cvs update -A FILE'.

. ./emacs-config

for d in $mergeversions ; do
foo=${d//./_}
echo cvs checkout -d merge-$d -r EMACS_$foo emacs
cvs checkout -d merge-$d -r EMACS_$foo emacs
done
