Changes between Version 45 and Version 46 of CommittersTipsAndTricks
- Timestamp:
- Nov 4, 2011, 3:07:51 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CommittersTipsAndTricks
v45 v46 185 185 1. Apply the patch 186 186 {{{ 187 $ trac-patch http ://trac.macports.org/attachment/ticket/.../Portfile.diff187 $ trac-patch https://trac.macports.org/attachment/ticket/.../Portfile.diff 188 188 }}} 189 189 190 190 You can also add options to `trac-patch` which will get passed through to the patch tool. This is especially useful when the patch needs another prefix level. 191 191 {{{ 192 $ trac-patch -p1 http ://trac.macports.org/attachment/ticket/.../Portfile.diff192 $ trac-patch -p1 https://trac.macports.org/attachment/ticket/.../Portfile.diff 193 193 }}} 194 194 If you don't add any option, `-p0` is used as a default. This should be the most common case. … … 196 196 `trac-get` can also download to another directory. If the directory does not yet exist, it will be created. Just add a second parameter with the name of the directory. If you omit the second parameter, the current directory is used. 197 197 {{{ 198 $ trac-get http ://trac.macports.org/attachment/ticket/.../Portfile new-port198 $ trac-get https://trac.macports.org/attachment/ticket/.../Portfile new-port 199 199 }}} 200 200