Posted by
Jacques Le Roux on
Mar 25, 2006; 8:25pm
URL: http://ofbiz.116.s1.nabble.com/Dev-SVN-keywords-tp167385p167403.html
Hi Jacopo,
Do you remember this message (attached) from T E Schmitz ?
Jacques
----- Original Message -----
From: "Jacopo Cappellato" <
[hidden email]>
To: "OFBiz Project Development Discussion (High Traffic)" <
[hidden email]>
Sent: Saturday, March 25, 2006 6:39 PM
Subject: [OFBiz] Dev - SVN keywords
> Hi all,
>
> I'm diligently studying the "Pragmatic Version Control Using SVN" book
> by Mike Mason to get a deeper knowledge of the SVN secrets.
> I'm particularly interested in vendor branches and three way merging
> (you can see my notes here
>
http://ofbizwiki.go-integral.com/Wiki.jsp?page=SVNTips).
>
> In the book, the author advises against the use of keyword expansion in
> source files with some good reasonings (and one of these is that with
> keywords it's more difficult to merge different trunks).
>
> I'd like to get your feedback about this subject.
> Do you think that SVN keywords are useful in OFBiz? Would you consider
> to remove them? (It could be easy now that we are in the process of
> changing all the license header to the ASL2.0).
>
> Thanks,
>
> Jacopo
>
> PS: I know that Vinay Agarwal has setup another wiki page about SVK
> (
http://ofbizwiki.go-integral.com/Wiki.jsp?page=AlternateSVNTips), but
> I'm too lazy now to install a new tool ;-)
>
> _______________________________________________
> Dev mailing list
>
[hidden email]
>
http://lists.ofbiz.org/mailman/listinfo/devHello David,
T E Schmitz wrote:
> David E. Jones wrote:
>
>>
>> I did a search for a $Rev:$ and replaced with $Rev$, though on commit
>> it didn't expand the keyword... I'm guessing that some SVN flag/
>> property needs to be changed for these files, does anyone know how to
>
>
> either in the Subversion config file (on Unix ~/.subversion/config):
> * = svn:keywords=LastChangedDate Revision Author
> or just
> * = svn:keywords=Revision
>
Just be aware of one pitfall - i just made that stupid mistake myself:
DO NOT enable keyword expansion on all files as I did above (* =
svn:keywords=Revision), just on text files!!!!
svn:keyword allows Subversion to change the file if it finds keyword
placeholders in it.
When I checked out OFBiz from my repository the build failed because the
worldpay jar had got "corrupted" upon import and was no longer a valid
archive. As I know now that was my own stupid fault trying to save
myself spelling out dozens of extensions.
--
Regards/Gruß,
Tarlika Elisabeth Schmitz
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev