I just did a similar thing for ActiveMQ, If there were actually a couple of variations need to hand the other svn keyword tags. Gotta dig for them in my bash history. If you don't get to it before I do, I'll apply them to the source tree.
Regards, Hiram FuseSource Web: http://fusesource.com/ On Thu, Feb 17, 2011 at 2:08 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > Hi > > I have created a ticket > https://issues.apache.org/jira/browse/CAMEL-3676 > > Does anyone know if the regexp could be improved to remove the source > code line, instead of replacing it with empty content? > eg I am looking for a \XXX to indicate remove the line. > > > > On Wed, Feb 16, 2011 at 3:11 PM, Claus Ibsen <claus.ib...@gmail.com> wrote: >> Hi >> >> Many of the Java files in Camel source code have $revision$ tags. >> >> I propose we remove those. It makes comparing branches and files more tricky. >> And the git people told me it also makes some problem there as well. >> >> We got this nice command to remove them >> >> find . -name '*.java' | xargs perl -p -i -e 's/(\@version >> +)?\$Revision: *[0-9]+ *\$//g' >> >> >> >> -- >> Claus Ibsen >> ----------------- >> FuseSource >> Email: cib...@fusesource.com >> Web: http://fusesource.com >> Twitter: davsclaus >> Blog: http://davsclaus.blogspot.com/ >> Author of Camel in Action: http://www.manning.com/ibsen/ >> > > > > -- > Claus Ibsen > ----------------- > FuseSource > Email: cib...@fusesource.com > Web: http://fusesource.com > Twitter: davsclaus > Blog: http://davsclaus.blogspot.com/ > Author of Camel in Action: http://www.manning.com/ibsen/ >