On Wed, Oct 04, 2006 at 09:36:12PM +0200, Thomas Hühn wrote: > Isn't a tag a patch, too? So why the restriction to "not tags"?
Tags doesn't have any changes, so if you unrecord a tag in a repo created with Get --tag=that_tag, it is very easy to recreate a new version of that_tag with only the differences deliberately caused in that repo. If it was two tags depending on a patch you want to change, you'd have to create two temp repos to be sure to get the new versions of the tags right. A normal patch has changes, so if it depends on the patch you want to change, you'll have to unrecord them both, and now there is nothing that "remembers" which changes belong to which patch. You'll have to sort it out manually in the Record dialogue. This could be no more and no less difficult than it was recording the different changes as separate patches the first time, but it is much less fun the second time, and risks being done in a hurry. And if the two patches have overlapping changes, those will merge, which means some step in the change history gets lost. Then one have to unrecord the patches one at a time and make backup files with the individual change sets. Now, since one patches _does_ depend on the other, they do have some overlapping changes (or --ask-deps was used). Not all of the changes have to overlapp in every file, but it is sure still much work since you basically have to replay the editing and recording steps. I think darcs could be made to do this automatically, so you could amend-record a depended upon patch, with the "side effect" that all depending patches also change (as they must do). But it could be complicated to implement, and such a feature could easily create a situation where a lot of patches were change by mistake and unnoticed, and then you'd have multiple versions of patches floating around between repos, creating conflicts, and no one would know which version was the right one. -- Tommy Pettersson <[EMAIL PROTECTED]> _______________________________________________ darcs-users mailing list [email protected] http://www.abridgegame.org/mailman/listinfo/darcs-users
