Hooks pour darcs.
darcs-hash:20071209163827-af139-4930465f328e974b39c143f937c191281214115a.gz
This commit is contained in:
parent
120316c881
commit
5b445c1a89
3 changed files with 16 additions and 0 deletions
8
bin/all/darcs-record-postpook
Executable file
8
bin/all/darcs-record-postpook
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
author_file="_darcs/prefs/author"
|
||||||
|
if [ -f $author_file ]; then
|
||||||
|
rm -f $author_file
|
||||||
|
echo "N'utilisez pas de fichier $author_file"'!!'
|
||||||
|
echo "Utilisez plutot la variable DARCS_EMAIL ou un fichier ~/.darcs/author"
|
||||||
|
fi
|
||||||
|
/usr/scripts/bin/darcs/darcs-send-changes roots@crans.org
|
6
bin/all/darcs-record-prehook
Executable file
6
bin/all/darcs-record-prehook
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
author_file="_darcs/prefs/author"
|
||||||
|
if [ -f $author_file ]; then
|
||||||
|
echo "Suppression de $author_file."
|
||||||
|
rm -f $author_file
|
||||||
|
fi
|
2
bin/all/darcs-send-changes
Executable file
2
bin/all/darcs-send-changes
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
exec python /usr/scripts/gestion/darcs_send_changes.py "$@"
|
Loading…
Add table
Add a link
Reference in a new issue