Announcement

  •  » Engine
  •  » svn:keywords and automatic substitutions at checkout time

#1 2009-05-12 22:03:26

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

svn:keywords and automatic substitutions at checkout time

Many template files are starting with:

Code:

{* $Id$ *}

The svn:keywords property is set to "Author Date Id Revision". As a consequence, when I checkout, there is an automatic transformation into:

Code:

{* $Id: configuration.tpl 2641 2008-10-02 20:57:32Z rub $ *}

I remember that we have already discussed about that but I can't find the topic.

I don't like that. This was an interesting feature at CVS time, but now with SVN it is useless. More than useless it is painful for me, because I maintain an slightly customed Piwigo version and this automatic substitution makes the upgrade (with standard diff/patch) painful: I get disturbed by these useless lines considered as differences.

Keyword Substitution - Just say No!

Can I remove the {* $Id$ *} in the code and delete the svn:keywords property in all files?

Offline

 

#2 2009-05-13 13:56:41

rub
Former Piwigo Team
Lille
2005-08-26
5019

Re: svn:keywords and automatic substitutions at checkout time

plg wrote:

Can I remove the {* $Id$ *} in the code and delete the svn:keywords property in all files?

Yes, you can...
This was remove on php file but not on tpl files.

Offline

 

#3 2009-05-13 23:59:05

P@t
Piwigo Team
Nice
2007-06-13
4098

Re: svn:keywords and automatic substitutions at checkout time

Yes, you can ;-)


P@t

Offline

 

#4 2009-05-14 00:49:19

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: svn:keywords and automatic substitutions at checkout time

P@t wrote:

Yes, you can ;-)

I'm doing it right now, and I admit it's quite painful... I will be much more satisfied once this piece of repeating code will be removed :-)

Offline

 

#5 2009-05-14 01:30:31

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: svn:keywords and automatic substitutions at checkout time

Job's done, on trunk Colibri only :

* [Subversion] r3281
* [Subversion] r3282
* [Subversion] r3283

Offline

 
  •  » Engine
  •  » svn:keywords and automatic substitutions at checkout time

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact