# HG changeset patch
# Date 1301990806 -28800
# User Keshav Kini <kini@member.ams.org>
# Parent b01332b92f7e894e2e70a9cc00e40a0e35bb066c
trac #11121: Set up good defaults for sage's mercurial
diff --git a/spkg-install b/spkg-install
|
a
|
b
|
|
| 1 | 1 | #!/bin/sh |
| | 2 | # This is the spkg-install script which will be emplaced within the SPKG for |
| | 3 | # the extcode repository whenever it is packaged. |
| 2 | 4 | |
| 3 | 5 | CUR=`pwd` |
| 4 | 6 | DIR="$SAGE_ROOT"/data/extcode |
| … |
… |
|
| 27 | 29 | hg update |
| 28 | 30 | fi |
| 29 | 31 | |
| | 32 | # Create an appropriate hgrc file for the target |
| | 33 | cat > "$DIR/.hg/hgrc" <<"HEREDOC" |
| | 34 | [diff] |
| | 35 | git = true |
| | 36 | HEREDOC |