Yes, this went into HEAD only. And it really should. Oliver
On Tue, 7 Dec 2004 08:05:14 -0800, Warwick Burrows <[EMAIL PROTECTED]> wrote: > > When a commit log email is sent how do I determine what branches it was > applied to? This submission by Oliver for instance. I don't see a "Tag" line > so was this applied only to the HEAD? > > Thanks, > Warwick > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, December 07, 2004 8:10 AM > > To: [EMAIL PROTECTED] > > Subject: cvs commit: > > jakarta-slide/src/share/org/apache/slide/macro MacroImpl.java > > > > > > ozeigermann 2004/12/07 06:10:06 > > > > Modified: src/share/org/apache/slide/macro MacroImpl.java > > Log: > > Resource now is copied before permissions., > > > > Fixed bug that did not allow to copy a read-only file. > > > > Patch contributed by Honor� David N. in > > > > http://nagoya.apache.org/eyebrowse/ReadMsg?listName=slide-dev@ > > jakarta.apache.org&msgNo=14760 > > > > Revision Changes Path > > 1.51 +29 -29 > > jakarta-slide/src/share/org/apache/slide/macro/MacroImpl.java > > > > Index: MacroImpl.java > > =================================================================== > > RCS file: > > /home/cvs/jakarta-slide/src/share/org/apache/slide/macro/Macro > > Impl.java,v > > retrieving revision 1.50 > > retrieving revision 1.51 > > diff -u -r1.50 -r1.51 > > --- MacroImpl.java 8 Nov 2004 09:22:56 -0000 1.50 > > +++ MacroImpl.java 7 Dec 2004 14:10:06 -0000 1.51 > > @@ -813,31 +813,6 @@ > > } > > } > > > > - // Trying to recreate permissions > > - try { > > - > > - Enumeration sourcePermissions = securityHelper > > - .enumeratePermissions(token, sourceNode); > > - > > - while (sourcePermissions.hasMoreElements()) { > > - NodePermission permission = > > - (NodePermission) > > sourcePermissions.nextElement(); > > - NodePermission newPermission = > > - new NodePermission(destinationUri, > > - > > permission.getSubjectUri(), > > - > > permission.getActionUri(), > > - > > permission.isInheritable(), > > - > > permission.isNegative()); > > - securityHelper.grantPermission(token, > > newPermission); > > - } > > - > > - } catch (AccessDeniedException ex) { > > - // Means that we don't have > > modifyPermissions rights > > - // (root access) on the target. > > - // The copy should definitely succeed anyway, > > - // so we silently catch the exception. > > - } > > - > > // Now copying revision descriptors and content > > NodeRevisionDescriptors sourceNrds = > > contentHelper.retrieve(token, sourceNode.getUri()); > > @@ -883,6 +858,31 @@ > > } > > } > > > > + // Trying to recreate permissions > > + try { > > + > > + Enumeration sourcePermissions = securityHelper > > + .enumeratePermissions(token, sourceNode); > > + > > + while (sourcePermissions.hasMoreElements()) { > > + NodePermission permission = > > + (NodePermission) > > sourcePermissions.nextElement(); > > + NodePermission newPermission = > > + new NodePermission(destinationUri, > > + > > permission.getSubjectUri(), > > + > > permission.getActionUri(), > > + > > permission.isInheritable(), > > + > > permission.isNegative()); > > + securityHelper.grantPermission(token, > > newPermission); > > + } > > + > > + } catch (AccessDeniedException ex) { > > + // Means that we don't have > > modifyPermissions rights > > + // (root access) on the target. > > + // The copy should definitely succeed anyway, > > + // so we silently catch the exception. > > + } > > + > > } catch(SlideException ex) { > > // ex.printStackTrace(); //the exception is packed and > > // (hopefully) reported in the response > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
