[vhffs-dev] [1573] added mercurial icon, added mercurial table into SQL compat file |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1573
Author: gradator
Date: 2010-03-26 00:37:28 +0100 (Fri, 26 Mar 2010)
Log Message:
-----------
added mercurial icon, added mercurial table into SQL compat file
Modified Paths:
--------------
trunk/vhffs-compat/from-4.2-to-4.3.sql
trunk/vhffs-themes/Makefile.am
trunk/vhffs-themes/vhffs/main.css
Added Paths:
-----------
trunk/vhffs-themes/vhffs/images/mercurialentry.png
Modified: trunk/vhffs-compat/from-4.2-to-4.3.sql
===================================================================
--- trunk/vhffs-compat/from-4.2-to-4.3.sql 2010-03-25 23:13:17 UTC (rev 1572)
+++ trunk/vhffs-compat/from-4.2-to-4.3.sql 2010-03-25 23:37:28 UTC (rev 1573)
@@ -5,3 +5,18 @@
ALTER TABLE vhffs_history ADD COLUMN source_uid INTEGER DEFAULT NULL;
ALTER TABLE vhffs_history ADD CONSTRAINT fk_vhffs_history_vhffs_users FOREIGN KEY (source_uid) REFERENCES vhffs_users(uid);
+-- add mercurial table
+CREATE TABLE vhffs_mercurial
+(
+ mercurial_id SERIAL,
+ reponame varchar NOT NULL,
+ public int4 NOT NULL,
+ ml_name varchar,
+ object_id int4 NOT NULL,
+ CONSTRAINT vhffs_mercurial_pkey PRIMARY KEY( mercurial_id )
+) WITH OIDS;
+
+ALTER TABLE vhffs_mercurial ADD CONSTRAINT vhffs_mercurial_unique_reponame UNIQUE (reponame);
+CREATE INDEX idx_vhffs_mercurial_public ON vhffs_mercurial(public);
+CREATE INDEX idx_vhffs_mercurial_object_id ON vhffs_mercurial(object_id);
+ALTER TABLE vhffs_mercurial ADD CONSTRAINT fk_vhffs_mercurial_vhffs_object FOREIGN KEY (object_id) REFERENCES vhffs_object(object_id) ON DELETE CASCADE;
Modified: trunk/vhffs-themes/Makefile.am
===================================================================
--- trunk/vhffs-themes/Makefile.am 2010-03-25 23:13:17 UTC (rev 1572)
+++ trunk/vhffs-themes/Makefile.am 2010-03-25 23:37:28 UTC (rev 1573)
@@ -59,6 +59,7 @@
vhffs/images/repository.png \
vhffs/images/svnentry.png \
vhffs/images/gitentry.png \
+ vhffs/images/mercurialentry.png \
vhffs/images/git.png \
vhffs/images/tab.png \
vhffs/images/tip.png \
Added: trunk/vhffs-themes/vhffs/images/mercurialentry.png
===================================================================
(Binary files differ)
Property changes on: trunk/vhffs-themes/vhffs/images/mercurialentry.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/vhffs-themes/vhffs/main.css
===================================================================
--- trunk/vhffs-themes/vhffs/main.css 2010-03-25 23:13:17 UTC (rev 1572)
+++ trunk/vhffs-themes/vhffs/main.css 2010-03-25 23:37:28 UTC (rev 1573)
@@ -670,6 +670,10 @@
list-style-image: url('images/gitentry.png');
}
+ul.mercurialList {
+ list-style-image: url('images/mercurialentry.png');
+}
+
ul.dnsList {
list-style-image: url('images/dnsentry.png');
}