开发者

Is there a way to set custom file properties in mercurial?

Is there a feature in mercurial similar to subversion's propset command?

What I really want is info about each file indicating whether it has code reviewed and QA'd. When a product is released every f开发者_如何学运维ile in the tip will have these attributes/properties set.


There is not. Commits in mercurial are indelible, so no command can go back and alter them. Properties would have to be stored in separate meta-data file(s) which would also be version tracked (sort of like the .hgtags file). One could build an extension to do that but every property alteration would put another changeset in your history.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜