Abdelrazak Younes wrote:
> 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

interesting idea, however i don't get how you would like to use it locally
(in the local copy you will have "Rev" not the commit number).

pavel

Reply via email to