[vhffs-dev] [1758] Added flag method to know if a swm supports notifs |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1758
Author: beuss
Date: 2011-05-16 22:50:48 +0200 (Mon, 16 May 2011)
Log Message:
-----------
Added flag method to know if a swm supports notifs
Modified Paths:
--------------
trunk/vhffs-api/src/Vhffs/Services/Bazaar.pm
trunk/vhffs-api/src/Vhffs/Services/Cvs.pm
trunk/vhffs-api/src/Vhffs/Services/Git.pm
trunk/vhffs-api/src/Vhffs/Services/Mercurial.pm
trunk/vhffs-api/src/Vhffs/Services/Svn.pm
Modified: trunk/vhffs-api/src/Vhffs/Services/Bazaar.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/Bazaar.pm 2011-05-16 20:50:30 UTC (rev 1757)
+++ trunk/vhffs-api/src/Vhffs/Services/Bazaar.pm 2011-05-16 20:50:48 UTC (rev 1758)
@@ -136,6 +136,10 @@
return $self;
}
+sub supports_notifications {
+ return 1;
+}
+
sub commit
{
my $self = shift;
Modified: trunk/vhffs-api/src/Vhffs/Services/Cvs.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/Cvs.pm 2011-05-16 20:50:30 UTC (rev 1757)
+++ trunk/vhffs-api/src/Vhffs/Services/Cvs.pm 2011-05-16 20:50:48 UTC (rev 1758)
@@ -136,6 +136,9 @@
return 1;
}
+sub supports_notifications {
+ return 0;
+}
=head2 set_public
Modified: trunk/vhffs-api/src/Vhffs/Services/Git.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/Git.pm 2011-05-16 20:50:30 UTC (rev 1757)
+++ trunk/vhffs-api/src/Vhffs/Services/Git.pm 2011-05-16 20:50:48 UTC (rev 1758)
@@ -148,6 +148,10 @@
$self->SUPER::commit;
}
+sub supports_notifications {
+ return 1;
+}
+
sub set_public
{
my $self = shift;
Modified: trunk/vhffs-api/src/Vhffs/Services/Mercurial.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/Mercurial.pm 2011-05-16 20:50:30 UTC (rev 1757)
+++ trunk/vhffs-api/src/Vhffs/Services/Mercurial.pm 2011-05-16 20:50:48 UTC (rev 1758)
@@ -147,6 +147,10 @@
$self->SUPER::commit;
}
+sub supports_notifications {
+ return 1;
+}
+
sub set_public
{
my $self = shift;
Modified: trunk/vhffs-api/src/Vhffs/Services/Svn.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/Svn.pm 2011-05-16 20:50:30 UTC (rev 1757)
+++ trunk/vhffs-api/src/Vhffs/Services/Svn.pm 2011-05-16 20:50:48 UTC (rev 1758)
@@ -149,6 +149,10 @@
$self->SUPER::commit;
}
+sub supports_notifications {
+ return 1;
+}
+
sub set_public
{
my $self = shift;