rsync uses git now...
authormetze <metze@1e5ffdc8-eadd-0310-9daa-9cb4117fe24b>
Wed, 21 Nov 2007 08:40:58 +0000 (08:40 +0000)
committermetze <metze@1e5ffdc8-eadd-0310-9daa-9cb4117fe24b>
Wed, 21 Nov 2007 08:40:58 +0000 (08:40 +0000)
metze

git-svn-id: file:///home/svn/build-farm/trunk@724 1e5ffdc8-eadd-0310-9daa-9cb4117fe24b

web/data.pm

index e9bff622865534a2ded9d33aac8394c8a00b2301..2be5f7c4e513eb06a6ef4ccbf9e01c3ac55d2722 100644 (file)
@@ -143,6 +143,10 @@ sub build_age_ctime($$$$$)
        return $age;
 }
 
+#TODO: merge this with the stuff from history.pm
+#      and trees.list
+my @git_trees = ("rsync", "samba_3_2_test");
+
 ##############################################
 # get the svn revision of build
 sub build_revision_details($$$$$)
@@ -155,7 +159,7 @@ sub build_revision_details($$$$$)
 
        # don't fast-path for trees with git repository:
        # we get the timestamp as rev and want the details
-       if ($rev && ($tree ne "samba_3_2_test")) {
+       if ($rev and not util::InArray($tree, \@git_trees)) {
                return $rev;
        }