<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I have a Debian server with a mirror of the "OFBiz" trunk</DIV>
<DIV>SVK is my version control</DIV>
<DIV>My mirror depot path is //mirror/VendorOfbiz/trunk</DIV>
<DIV>My local depot path is //local/customOfbiz/trunk</DIV>
<DIV> </DIV>
<DIV>When I implemented this version control solution, I didn't think of
patching</DIV>
<DIV> </DIV>
<DIV>If I create a patch, I type :</DIV>
<DIV> </DIV>
<DIV>svk diff
//mirror/vendorOfbiz/trunk/applications/product/src/org/ofbiz/product/config/ProductConfigWrapper.java</DIV>
<DIV>//local/customOfbiz/trunk/applications/product/src/org/ofbiz/product/config/ProductConfigWrapper.java</DIV>
<DIV>> ./Patch/getTotalListPrice_ProductConfigWrapper.java.patch</DIV>
<DIV> </DIV>
<DIV>And I have to modify my patch file to rewrite the path</DIV>
<DIV>from : </DIV>
<DIV> </DIV>
<DIV>---
ProductConfigWrapper.java (/mirror/vendorOfbiz/trunk/applications/product/src/org/ofbiz/product/config/ProductConfigWrapper.java) (revision
7214)</DIV>
<DIV> </DIV>
<DIV>to :</DIV>
<DIV> </DIV>
<DIV>---
ProductConfigWrapper.java (applications/product/src/org/ofbiz/product/config/ProductConfigWrapper.java) (revision
7214) </DIV>
<DIV> </DIV>
<DIV>When I have several modified files, I manually create my main patch adding
each patch ( because I have another changes into a sub-directory).</DIV>
<DIV> </DIV>
<DIV>Committers tell me :</DIV>
<DIV> </DIV>
<DIV>* I guess you use a local repository because you have a revision 7215
number<BR>* I don't know how you generated your patch but I get this
error<BR>D:\workspace\ofbizRun>patch -p0
0<ProductImageAutoScale.patch<BR>can't find file to patch at input line
5<BR>Perhaps you used the wrong -p or --strip option?<BR>The text leading up to
this was:<BR>--------------------------<BR>|´╗┐===
entitymodel.xml<BR>|==================================================================<BR>|---
entitymodel.xml
(applications/product/entitydef/entitymodel.xml)
(revision 7215)<BR>|+++ entitymodel.xml
(applications/product/entitydef/entitymodel.xml)
(revision 7215)<BR> </DIV>
<DIV> </DIV>
<DIV>Do you have a solution ?</DIV>
<DIV>Have I to delete my mirror to direct update from the official OFBiz trunk
?</DIV>
<DIV> </DIV>
<DIV>Thank you very much in advance</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Eric </DIV></BODY></HTML>