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