How to write tags
Patrick Mézard
pmezard at gmail.com
Thu Dec 24 10:08:04 CST 2009
Le 24/12/09 11:06, Frank A. Kingswood a écrit :
> 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.
I don't understand what you are trying to do here. Create tags in mercurial via memctx ?
--
Patrick Mézard
More information about the Mercurial-devel
mailing list