How do different version control systems handle binary files?

后端 未结 5 756
广开言路
广开言路 2020-12-24 06:25

I have heard some claims that SVN handles binary files better than Git/Mercurial. Is this true and if so then why? As far as I can imagine, no version control system (VCS) c

5条回答
  •  执笔经年
    2020-12-24 06:48

    In Subversion you can lock binary files to make sure that nobody else can edit them. This mostly assures you that nobody else will modify that binary file while you have it locked. Distributed VCSs don't (and can't) have locks--there's no central repository for them to be registered at.

提交回复
热议问题