1/* 2 * aegis - project change supervisor 3 * This file is in the Public Domain, 2005 Peter Miller. 4 * 5 * The entries for the commands are listed below. The aevst Simple 6 * Version Tool is just about ideal for Aegis to use (well, you'd expect 7 * that, with a name like aesvt). 8 * 9 * Binary files are fully supported. 10 * 11 * The ${quote ...} construct is used to quote filenames which contain 12 * shell special characters. A minimum of quoting is performed, so if 13 * the filenames do not contain shell special characters, no quotes will 14 * be used. 15 */ 16 17/* 18 * This command is used to get a specific edit back from history. 19 * This command is always executed as the project owner. 20 * The following substitutions are available: 21 * 22 * ${History} 23 * absolute path of the history file 24 * ${Edit} 25 * edit number, as given by history_\%query_\%command 26 * ${Output} 27 * absolute path of the destination file 28 */ 29history_get_command = 30 "aesvt -check-out -edit ${quote $edit} " 31 "-history ${quote $history} " 32 "-f ${quote $output}" 33 ; 34 35/* 36 * This command is used to add a new "top-most" entry to the history file. 37 * This command is always executed as the project owner. 38 * The following substitutions are available: 39 * 40 * ${Input} 41 * absolute path of source file 42 * ${History} 43 * absolute path of history file 44 * 45 * It is essential that the history_put_command be identical to the 46 * the history_create_command for branching to work correctly. 47 */ 48history_put_command = 49 "aesvt -check-in " 50 "-history ${quote $history} " 51 "-f ${quote $input} " 52 "Aegis-Version=${quote $version} " 53 "Change-Uuid=${quote ${change uuid}} " 54 "Delta-Uuid=${quote ${change delta_uuid}} " 55 "Description=${quote ${change description}} " 56 "Filename=${quote $filename} " 57 "User=${quote $developer} " 58 ; 59 60/* 61 * This command is used to query what the history mechanism calls the top-most 62 * edit of a history file. The result may be any arbitrary string, it need not 63 * be anything like a number, just so long as it uniquely identifies the edit 64 * for use by the history_get_command at a later date. The edit number is to 65 * be printed on the standard output. This command is always executed as the 66 * project owner. 67 * 68 * The following substitutions are available: 69 * 70 * ${History} 71 * absolute path of the history file 72 */ 73history_query_command = 74 "aesvt -query " 75 "-history ${quote $history}" 76 ; 77 78/* 79 * The history_content_limitation field describes the content style 80 * which the history tool is capable of working with. The aesvt tool is 81 * fully capable of hosting binary files. 82 */ 83history_content_limitation = binary_capable; 84