From 3de011bf5dceb9f25fd8f2168b6605601c196b91 Mon Sep 17 00:00:00 2001 From: Stephen Haberman Date: Wed, 13 Aug 2008 23:15:44 -0500 Subject: [PATCH] Rename update-trac -> update-ensure-ticket-reference. --- cbas/update | 2 +- server/{update-trac => update-ensure-ticket-reference} | 0 ...e-trac.sh => t2000-server-update-ensure-ticket-reference.sh} | 2 +- ...sh => t2001-server-update-ensure-ticket-reference-merges.sh} | 2 +- ... => t2002-server-update-ensure-ticket-reference-branches.sh} | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename server/{update-trac => update-ensure-ticket-reference} (100%) rename tests/{t2000-server-update-trac.sh => t2000-server-update-ensure-ticket-reference.sh} (96%) rename tests/{t2001-server-update-trac-merges.sh => t2001-server-update-ensure-ticket-reference-merges.sh} (93%) rename tests/{t2002-server-update-trac-branches.sh => t2002-server-update-ensure-ticket-reference-branches.sh} (96%) diff --git a/cbas/update b/cbas/update index b8b2226..4d197bb 100755 --- a/cbas/update +++ b/cbas/update @@ -5,7 +5,7 @@ oldrev="$2" newrev="$3" ruby /srv/git/hooks/server/update-lock-check.rb "$refname" "$oldrev" "$newrev" && -sh /srv/git/hooks/server/update-trac "$refname" "$oldrev" "$newrev" && +sh /srv/git/hooks/server/update-ensure-ticket-reference "$refname" "$oldrev" "$newrev" && sh /srv/git/hooks/server/update-allow-tags-branches "$refname" "$oldrev" "$newrev" && sh /srv/git/hooks/server/update-prefer-rebase "$refname" "$oldrev" "$newrev" && sh /srv/git/hooks/server/update-prefer-underscores "$refname" "$oldrev" "$newrev" && diff --git a/server/update-trac b/server/update-ensure-ticket-reference similarity index 100% rename from server/update-trac rename to server/update-ensure-ticket-reference diff --git a/tests/t2000-server-update-trac.sh b/tests/t2000-server-update-ensure-ticket-reference.sh similarity index 96% rename from tests/t2000-server-update-trac.sh rename to tests/t2000-server-update-ensure-ticket-reference.sh index ff600f2..d96fa92 100644 --- a/tests/t2000-server-update-trac.sh +++ b/tests/t2000-server-update-ensure-ticket-reference.sh @@ -16,7 +16,7 @@ test_expect_success 'setup' ' ' # setup the update hook -install_server_hook 'update-trac' 'update' +install_server_hook 'update-ensure-ticket-reference' 'update' test_expect_success 'reject with bad message' ' echo $test_name >a && diff --git a/tests/t2001-server-update-trac-merges.sh b/tests/t2001-server-update-ensure-ticket-reference-merges.sh similarity index 93% rename from tests/t2001-server-update-trac-merges.sh rename to tests/t2001-server-update-ensure-ticket-reference-merges.sh index a8851a0..71d694e 100644 --- a/tests/t2001-server-update-trac-merges.sh +++ b/tests/t2001-server-update-ensure-ticket-reference-merges.sh @@ -16,7 +16,7 @@ test_expect_success 'setup' ' ' # setup the hook -install_server_hook 'update-trac' 'update' +install_server_hook 'update-ensure-ticket-reference' 'update' test_expect_success 'accept merge with merge message' ' git checkout -b topic1 master && diff --git a/tests/t2002-server-update-trac-branches.sh b/tests/t2002-server-update-ensure-ticket-reference-branches.sh similarity index 96% rename from tests/t2002-server-update-trac-branches.sh rename to tests/t2002-server-update-ensure-ticket-reference-branches.sh index 437dbe6..be34923 100644 --- a/tests/t2002-server-update-trac-branches.sh +++ b/tests/t2002-server-update-ensure-ticket-reference-branches.sh @@ -16,7 +16,7 @@ test_expect_success 'setup' ' ' # setup the hook -install_server_hook 'update-trac' 'update' +install_server_hook 'update-ensure-ticket-reference' 'update' test_expect_success 'reject new branch with bad message' ' git checkout -b topic1 master && -- 2.39.5