On Dec 15, 2007, at 9:26 AM, Lele Gaifax wrote:
On Sat, 15 Dec 2007 09:07:34 -0700
Kevin Geiss <[EMAIL PROTECTED]> wrote:
what I'm hoping for is to be able to tag the hg repo by hand now
(using a unique tag name) then to get tailor to skip the offending
tag which it's on currently, and then have tailor continue conversion
of the rest of the patches. how can I get tailor to skip this tag?
By setting up a "before-commit" function, that takes a changeset as
argument, and may either alter and return it, or return False to
indicate that the changeset should be ignored.
ciao, lele.
Thanks, after you pointed me in the right direction, I was able to
get the conversion finished.
just for my own future reference...
I turned my .tailor file into a python script, following the
directions here:
http://progetti.arstecnica.it/tailor/browser/README.rst#using-a-
python-script-as-configuration-file
added this line:
before-commit = before
then implemented this before function:
def before(wd, changeset):
if changeset.revision == 'tagged shared 2007-06-29':
return False
return changeset
and now it's all converted to hg.
now to figure out how to get the round-trip going :)
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor