开发者

commiting only the property change of a folder not the modified files inside it using svn commit

hi i want to commit only the property of a folder not the locally modified files inside it.

开发者_StackOverflowwhen i am using svn commit it is commiting also the modified files.please tell me how to get

this .

thanks


If you set a property with svn propset (adding to ignore list folder /help):

svn propset svn:ignore help

You can use --depth flag when running svn commit:

svn ci --depth=immediates

This will skip modifications made in files.You can also play with other values for --depth.

UPDATE

According to docs --depth=immediates limit the scope of operation to the target and any immediate children thereof . So, it's better to use

svn ci --depth=empty modified_target_folder

which limits the scope of operation to specified target only.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜