[Anthill] Bug in Windows Version?
McDaniel, Joe R.
joe.mcdaniel at ngc.com
Tue Aug 9 15:03:47 CDT 2005
I found a bug in the CVS pagelets for the Windows version. The "log"
command does not like to work with the files option very well. If you
CD into the directory and then issue the CVS command without the file
(list?) it works just fine. I suspect this works on Unix but did not
look carefully at that code. Here is the changed area for the
getRevisionsSince.pgl file.
cmd /x/c
<% if ((workDir != null) && (!workDir.trim().equals(""))) {
// workDir = workDir + File.separator + module;
File tempFile = new File(workDir);
if (!tempFile.exists()) {
tempFile.mkdirs();
}
workDir = tempFile.getAbsolutePath();
%>
cd /d <%=workDir%>\\<%= module %> &&
<%
}
%>
cvs -d <%=cvsroot%> log<%=dateString%><%=branchString%>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20050809/55173cc4/attachment-0002.htm
More information about the Anthill
mailing list