tests/test-hook
author mpm@selenic.com
Sat, 02 Jul 2005 19:57:47 -0800
changeset 589 4be4d4580467
parent 487 2ad41189bee5
child 749 7e4843b7efd2
permissions -rwxr-xr-x
[PATCH] bring MANIFEST.in up to date -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] bring MANIFEST.in up to date From: Andrew Thompson <andrewkt@aktzero.com> Some files were not coming over when I did python setup.py sdist I included MANIFEST.in for completeness, but I'm not sure if it should be in there. manifest hash: 9e055bea2829035685f8a4a9aaf07ee3f9785e1d -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCx2I7ywK+sNU5EO8RAl0EAJ9hwuKskuBwcSM46hqZY30JkMq8swCgnQVI 9FeppaKIUC3z2YMzhFHxRUQ= =3xJV -----END PGP SIGNATURE-----
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
487
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
     1
#!/bin/sh -x
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
     2
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
     3
hg init
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
     4
echo "[hooks]" > .hg/hgrc
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
     5
echo 'precommit = echo precommit hook' >> .hg/hgrc
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
     6
echo 'commit = echo commit hook: $NODE' >> .hg/hgrc
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
     7
echo a > a
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
     8
hg add a
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
     9
hg commit -t "test" -u test -d "0 0"