4 ms·
> Wish people would quit with the "Tool X is always better than Tool Y". Most of the time, I would agree with you. In this case, DVCS is a superset of VCS, so
by steveklabnik 17y ago
> Wish people would quit with the "Tool X is always better than Tool Y".
Most of the time, I would agree with you. In this case, DVCS is a superset of VCS, so it is _always_ better.
- sid0 17y agoCentralized VCSes can lock files. DVCSes cannot. Ergo, DVCSes are not a superset of centralized VCSes.
- steveklabnik 17y agoCouldn't the upstream repository just not accept changes to that file? I'm sure this could just be managed by some kind of commit hook.
- sid0 17y agoInteresting. I hadn't considered that possibility. I'm more familiar with hg than with git, but from what I gathered in #mercurial, it should be possible to write a combined extension + a commit hook that: * allows people with appropriate permissions to lock and unlock files * sets locked files to read-only on pull from the canonical repository, so that users are warned beforehand that the files are locked * rejects commits that modify locked files except for by the person that holds the key There are a bunch of issues that need to be worked out, but I think the problem is tractable. Nice, thanks for the idea!
- doty 17y agoA superset is not always better. Consider domain-specific languages vs. general-purpose languages. You need to weigh the benefits of increased power with the drawbacks of additional complexity.
- steveklabnik 17y agoEase of use is important, we certainly agree on that. But "git clone url" vs "svn co url" and "git commit -a" vs "svn commit" isn't significantly more complex.