Ticket #669 (closed enhancement: fixed)
Clean up VC modes
|Reported by:||dustin||Owned by:||dustin|
|Version:||0.7.12||Keywords:||svn hg git cvs p4 bk darcs ship-this|
|Cc:||dsallings, ddunbar, marcusl, zooko@…|
Description (last modified by dustin) (diff)
Per an IRC conversation with ddunbar and dsal, there are really only two things users want to do with VC steps:
- incremental updates/builds
- full, clean builds
Different VC's can implement these options with varying degrees of reliability. What is now mode=copy works well for every supported VC *except* CVS, so mode=clobber is only really useful for CVS. Bug #632 was about a more efficient way to implement clean builds in git, that was incorrectly filed under mode=update, because it's not really a copy.
So the proposal is to have only *two* modes, common across and supported on all VCs:
These will be specified with the mode= parameter. VCs can then have extra options to specify the implementation of that particular method. So Git might have mode="incremental", incremental_by="clean" *and* mode="incremental", incremental_by="copy".
Let's get this in the 0.8.0 release, since it's a pretty big behavior change (although it can be written in a backward-compatible fashion)
- Cc marcusl added
- Keywords svn hg git cvs p4 bk darcs monotone arch added