[darcs-users] noob question - tagging and releasing

Aaron Kaplan lists2546 at aaronkaplan.info
Thu Mar 15 12:19:28 UTC 2007


On Tue, 13 Mar 2007 19:52:52 +0000, "Dan North" <dan at tastapod.com> said:

> I noticed from the mail list that darcs doesn't have the concept of 
> having a particular version of a file.

That's not true.  Darcs has tags, as Alistair has already pointed out,
and a darcs tag uniquely identifies a particular version of the
repository, just like a CVS tag does.

The difference is that unlike in CVS, the notion of file versions is a
derived concept rather than a fundamental one.  There's a duality
between versions and patches, in the sense that if you have one, you can
derive the other.  A darcs tag is a name that you give to a set of
patches; but by applying that set of patches and no others (by doing
darcs get --tag=tagname for example), you end up with files that are
identical to those that were in the repository at the moment it was
tagged.

-Aaron



More information about the darcs-users mailing list