[darcs-users] Version numbers and latex document editing

Eric Kow kowey at darcs.net
Sat Mar 13 10:40:22 UTC 2010


On Fri, Mar 12, 2010 at 21:55:32 +0000, Niall Murphy wrote:
> While I could maintain a manual "number of records" by incrementing a
> counter in the files, it would be nice to have this number linked to
> something i could check out.

It's worth knowing that Darcs has grown a new '--count' flag, so you
could do something like this:

$ darcs show tags | head -n 1
1.6

$ darcs changes --from-tag . --count
42

This lets you know that you have 1.6 + 42 patches

> Would it be easy to implement a penultimate-hook where the final patch
> in a record would update all the file's keywords?

You may be interested in posthooks and prehooks

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100313/dafca936/attachment.pgp>


More information about the darcs-users mailing list