[darcs-users] Different contents, same tag

Aaron Kaplan kaplan at cs.rochester.edu
Mon Sep 19 13:09:41 UTC 2005


(I accidentally omitted the CC to the list from my last reply; putting
it back in now.)

Ketil Malde wrote:

> If you specify the tag, only the patched depending on it will be 
> pulled, and none of your private modifications).

Aha (again).  I was thinking that pulling a tag was the same as tagging,
but it's not.

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.
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?

-Aaron




More information about the darcs-users mailing list