How to prevent svn from expanding the keyword $ Id $?

What the title says

I tried svn pd, but did not know the correct syntax for using it.

>svn pd svn:keywords Id
svn: warning: 'Id' is not under version control

Update:

I want this all over the current directory, not just one file, so I tried:

>svn propdel svn:keywords "Id" . -R
svn: warning: 'Id' is not under version control
property 'svn:keywords' deleted (recursively) from '.'.

My files still have $Id$.

Update2:

To be more clear, I do nothing for svn, just checking it and updating it from time to time.

I noticed that when getting git-svn all the tags $Id$are saved (not expanded), I want svn to do the same.

So now I have executed this command:

>svn propdel svn:keywords . -R

What should I do now to receive the latest files without the $ Id $ extension? I suppose I want svn to pull out all the files again ...

I tried:

>svn revert . -R

but he did not seem to do what I want.

+3
2

'svn propdel' , "Id". , svn: keywords-property .

, , :

svn propdel svn:keywords . -R

, , "ID", :

svn propset svn:keywords "Revision" . -R

: "Id" , . , , , $Id $.

2:. svn-revert . , .

, , , . , script, $Id $ . - , , .

+5

, , . ,

svn propdel svn:keywords "Id" file

svn, , ,

+1

Source: https://habr.com/ru/post/1708322/


All Articles