How to write tags
Frank A. Kingswood
frank at kingswood-consulting.co.uk
Thu Dec 24 04:06:50 CST 2009
Hallo!
For the perfarce push/pull extension I'm attempting to create a tag
imported from p4. The pull does its work through context.memctx to avoid
clobbering the working directory state. Unfortunately, the
localrepo.tag() function only works on the working state, and the tags
module does not export anything useful.
I'm not terribly keen on reimplementing all of the tags logic in my
extension; is there a better way?
Oh, and localrepo.tags() drops the return value from _tags() with the
tagnode.
Frank
--
------------------------------------------------------------------------
Frank A. Kingswood frank at kingswood-consulting.co.uk
Cambridge, United Kingdom +44-7545-209 100
More information about the Mercurial-devel
mailing list