| | 8 | |
| | 9 | == My standard config == |
| | 10 | |
| | 11 | For the impatient readers, here is my standard basic recipe: |
| | 12 | {{{ |
| | 13 | #!/usr/bin/env /usr/local/bin/tailor |
| | 14 | |
| | 15 | """ |
| | 16 | [DEFAULT] |
| | 17 | verbose = True |
| | 18 | |
| | 19 | [billiards] |
| | 20 | target = darcs:billiards |
| | 21 | root-directory = billiards |
| | 22 | source = cvs:billiards |
| | 23 | start-revision = INITIAL |
| | 24 | subdir = billiards |
| | 25 | |
| | 26 | [darcs:billiards] |
| | 27 | darcs-command = /usr/local/bin/darcs220-64bit |
| | 28 | init-options = --darcs-2 |
| | 29 | split-initial-changeset-level = 2 |
| | 30 | |
| | 31 | [cvs:billiards] |
| | 32 | repository = :pserver:anonymous@cvs.sv.gnu.org:/sources/billiards |
| | 33 | module = billiards |
| | 34 | """ |
| | 35 | }}} |
| | 36 | |
| | 37 | This will will create a "billiards" directory in the CWD |
| | 38 | (the "root-directory" option), containing tailor private stuff, |
| | 39 | and the real darcs target repository in a "billiards" subdir under |
| | 40 | that (as specified by "subdir" option, see also DisjunctWorkingDirectories). |
| | 41 | |
| | 42 | The two levels let me follow several branches (say, billiards-trunk |
| | 43 | and billiards-stable). In such a case, the file would contain |
| | 44 | multiple related tasks. |
| | 45 | |
| | 46 | I usually write a variant of this in (say) `billiards.tailor` |
| | 47 | , `chmod +x`, and re-execute at will. |