[MacPorts] CommittersTipsAndTricks modified
MacPorts
noreply at macports.org
Sat Mar 13 18:34:36 PST 2010
Changed page "CommittersTipsAndTricks" by raimue at macports.org from 91.11.239.121*
Page URL: <http://trac.macports.org/wiki/CommittersTipsAndTricks>
Diff URL: <http://trac.macports.org/wiki/CommittersTipsAndTricks?action=diff&version=29>
Revision 29
Comment: Use syntax highlighting
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: CommittersTipsAndTricks
=========================================================================
--- CommittersTipsAndTricks (version: 28)
+++ CommittersTipsAndTricks (version: 29)
@@ -7,6 +7,7 @@
In the configuration for your Subversion client, enable automatic property setting and, for all files named Portfile, setting "svn:eol-style" to "native" and "svn:keywords" to "Id". If you are not using Subversion's own svn command-line client, see its documentation. For svn, you can make the appropriate changes by editing `~/.subversion/config` as follows:
{{{
+#!ini
...
[miscellany]
@@ -139,6 +140,7 @@
Add the following functions to your `.bashrc` in order to apply patches directly from Trac.
{{{
+#!sh
function trac-get {
local url=$1
local dir=$2
@@ -260,6 +262,7 @@
=== A bash script for checksums ===
{{{
+#!sh
#!/bin/bash
if [ -f "$1" ]; then
basename $1 | sed -e "s/\(.*\)/\1 \\\/"
-------8<------8<------8<------8<------8<------8<------8<------8<--------
* The IP shown here might not mean anything if the user or the server is
behind a proxy.
--
MacPorts <http://www.macports.org/>
Ports system for Mac OS
This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on CommittersTipsAndTricks. If it was not you, please
report to .
More information about the macports-changes
mailing list