monotone-commits-diffs
[Top][All Lists]
Advanced

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

[Monotone-commits-diffs] net.venge.monotone: 2f4d6d70f6355b42c777a9883d


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone: 2f4d6d70f6355b42c777a9883d62c7ff29dc82f8
Date: Wed, 19 Jan 2011 00:49:36 GMT

revision:            2f4d6d70f6355b42c777a9883d62c7ff29dc82f8
date:                2011-01-19T00:49:16
author:              Richard Levitte <address@hidden>
branch:              net.venge.monotone
changelog:
ident is a typo, it should be key_identity


manifest:
format_version "1"

new_manifest [2ea3e184ee626a31e946367509bc175bb2e2d5b0]

old_revision [cd0c687ec00e4bbade36961ede4cc3f9bf1ec294]

patch "contrib/authorize_remote_automate.lua"
 from [a6b785023719249109eac24a91a64d93f3674f94]
   to [36a18c43379184dbf19038c20862a724ba875733]
============================================================
--- contrib/authorize_remote_automate.lua	a6b785023719249109eac24a91a64d93f3674f94
+++ contrib/authorize_remote_automate.lua	36a18c43379184dbf19038c20862a724ba875733
@@ -58,7 +58,7 @@ do
 
       -- See if the incoming key matches any of the key identities or
       -- patterns found in the permissions file.
-      if _get_remote_automate_permitted(ident, permfilename) then
+      if _get_remote_automate_permitted(key_identity, permfilename) then
 	 return true
       end
       if isdir(permdirname) then
@@ -66,7 +66,9 @@ do
 	 table.sort(files)
 	 for _,f in ipairs(files) do
 	    pf = permdirname.."/"..f
-	    if _get_remote_automate_permitted(ident, pf) then return true end
+	    if _get_remote_automate_permitted(key_identity, pf) then
+	       return true
+	    end
 	 end
       end
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]