transpant and keywords together

Christian Ebert blacktrash at gmx.net
Mon Dec 21 11:31:49 CST 2009


* Berkes Adam on Monday, December 21, 2009 at 14:21:46 +0100
> I have a problem with transplant extension when keyword extension is
> also active. When a changeset contains a file which has an
> expandable keyword transplant is going to apply the file to the
> destination branch as keyword is in expanded state (the source
> changeset is correct, repository contains the shrinked version).

I've read your description several times, unfortunately I don't
understand it ;-(

Is the keyword in the destination branch expanded or not?

Simple example starting with 0 revs:

$ hg transplant -s ../test -p 1:tip
changeset:   0:87cf64da941f
user:        Christian Ebert <blacktrash at gmx.net>
date:        Sat Nov 24 12:41:01 2007 +0100
summary:     addA

apply changeset? [ynmpcq?]: y
requesting all changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
$ cat a
$Id: a,v 87cf64da941f 2007-11-24 12:41 +0100 blacktrash $

hello
$ hg id
87cf64da941f tip

> I've saw forum post about the subject which was rather old, so I'm
> not sure it is a forgotten one or simply it never raised as a
> problem?

Do you have a link?

> I can reproduce it with 1.3.1/1.4.1 as well.

Can you provide a small sample script to show the problem?

c
-- 
\black\trash movie    _C O W B O Y_  _C A N O E_  _C O M A_
                     Ein deutscher Western/A German Western

         --->> http://www.blacktrash.org/underdogma/ccc.php


More information about the Mercurial-devel mailing list