[darcs-users] Different contents, same tag

zooko at zooko.com zooko at zooko.com
Mon Sep 19 14:31:03 UTC 2005


> Here's why I'm asking about all this.  I've been working on adding
> support for tags to tailor (a tool for mirroring between cvs and
> darcs, among others, http://www.darcs.net/DarcsWiki/Tailor).  For
> cvs->darcs, my strategy so far has been: after generating a changeset
> from cvs, check whether the resulting set of file revisions has a tag;
> if it does, after replaying the changeset in darcs, do a darcs tag.

Cool!

> But if the darcs repo has been modified locally, then this is wrong:
> the darcs tag will depend on the local changes, and it shouldn't.
> 
> Is there a way to exclude particular patches from a tag?  Or would I
> have to unpull the local changes, tag, and reapply them?

The latter.  Or equivalently, do not ever make local changes to the darcs repo
which tailor is using.  Just have a separate repo for all of your changes.

Regards,

Zooko




More information about the darcs-users mailing list