Pavel Sanda wrote:
 Pavel Sanda wrote:
> Kornel Benko wrote:
>> try svnversion:
>>
>> #cd  .../branch1.6 #svnversion 29157M
> beware of the output, i just get 29123:29124M here...

 even worse, it doesn't produce version of the given file, which is a
 must since different files can have different revisions :( svn info
 may be unavoidable...

Hum, another solution would be to use propset:

svn propset svn:keywords "Rev"

see http://dev.juokaz.com/php/automatic-svn-revision-number-in-source-code

Abdel.

Reply via email to