Ticket #9433: hg_script

File hg_script, 489 bytes (added by jhpalmieri, 9 years ago)

script to initialize repository. for use by the release manager.

Line 
1#!/usr/bin/env bash
2
3echo "WARNING: This must be run from SAGE_ROOT!"
4
5SAGE_ROOT=`pwd`
6hg="$SAGE_ROOT/sage --hg"
7
8if [ -e makefile ]; then
9    mv makefile Makefile
10fi
11
12touch .hgtags
13$hg init .
14$hg add .hgignore .hgtags COPYING.txt README.txt Makefile sage
15cd ipython
16$hg add *.py ipythonrc*
17cd ../spkg
18$hg add README.txt gen_html install pipestatus root-spkg-install
19cd standard
20$hg add README.txt deps libdist_filelist newest_version
21cd ../..
22$hg commit -m 'initialization of repository'