pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/monotone-server Fix the sample get_netsync_write...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a3625fcc504
branches:  trunk
changeset: 498135:9a3625fcc504
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sat Aug 13 11:19:44 2005 +0000

description:
Fix the sample get_netsync_write_permitted hook: it doesn't take a branch
name any more.  Bump PKGREVISION to 1.

diffstat:

 devel/monotone-server/Makefile         |   3 ++-
 devel/monotone-server/files/hooks.conf |  13 ++++---------
 2 files changed, 6 insertions(+), 10 deletions(-)

diffs (39 lines):

diff -r ee3dcfdce449 -r 9a3625fcc504 devel/monotone-server/Makefile
--- a/devel/monotone-server/Makefile    Sat Aug 13 09:28:49 2005 +0000
+++ b/devel/monotone-server/Makefile    Sat Aug 13 11:19:44 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2005/08/09 22:02:31 jmmv Exp $
+# $NetBSD: Makefile,v 1.8 2005/08/13 11:19:44 jmmv Exp $
 #
 
 DISTNAME=      monotone-server-0.22
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r ee3dcfdce449 -r 9a3625fcc504 devel/monotone-server/files/hooks.conf
--- a/devel/monotone-server/files/hooks.conf    Sat Aug 13 09:28:49 2005 +0000
+++ b/devel/monotone-server/files/hooks.conf    Sat Aug 13 11:19:44 2005 +0000
@@ -1,4 +1,4 @@
--- $NetBSD: hooks.conf,v 1.2 2005/08/09 22:02:31 jmmv Exp $
+-- $NetBSD: hooks.conf,v 1.3 2005/08/13 11:19:44 jmmv Exp $
 -- 
 -- This file belongs to the monotone-server package.  This is the typical
 -- ~/.monotonerc configuration file, but is system-wide.
@@ -23,13 +23,8 @@
     return false
 end
 
-function get_netsync_write_permitted (branch, identity)
---    if (branch == "net.example.project1") then
---        if (identity == "user1%example.org@localhost") then return true end
---    end
---    if (branch == "net.example.project2.subbranch") then
---        if (identity == "user1%example.org@localhost") then return true end
---        if (identity == "user2%example.org@localhost") then return true end
---    end
+function get_netsync_write_permitted (identity)
+--    if (identity == "user1%example.org@localhost") then return true end
+--    if (identity == "user2%example.org@localhost") then return true end
     return false
 end



Home | Main Index | Thread Index | Old Index