On Mon, Oct 02, 2006 at 04:12:23PM +0200, Korusef wrote: > On 10/1/06, Thomas Hühn <[EMAIL PROTECTED]> wrote: > ... > >Is there a way to just change the summary without trying to fiddle with > >the internals in _darcs? I mean, it's just human-readable meta data, > >nothing another patch could really depend on, isn't it?
Funny or not, but it's the other way around. Meta data: patch name, time, long comment and so on, is hashed and can not be changed even by poking around inside _darcs, whereas the actual data that is the changes performed by the patch is not hashed, so you could easily edit that. Of course doing so just as easily results in an inconsistent repo. > The only way I know about is to unrecord the wrong patch and record it > again. > But I think it'll change hash of that patch. Yes. There's also no way of losing (changing) the unwanted patch without also losing (obliterating) any tag that tags it. That's the whole idea with tags. If it is all private patches and in only a few repos, it is not so much work to get a temp repo by the tag in question, unrecord the tag, unrecord and record the faulty patch with a new long comment, and retag. The tag and the patch are now "new" to the other repos (since their hash values are different). Pulling them will result in massive conflicts with the old ones. But it should now be possible to first obliterate the old versions in all repos and then pull in the new versions from the temp repo. If there are other patches (not tags) depending on the faulty patch, it is probably too much work, and the chance of making a misstake is much higher. -- Tommy Pettersson <[EMAIL PROTECTED]> _______________________________________________ darcs-users mailing list [email protected] http://www.abridgegame.org/mailman/listinfo/darcs-users
