Ticket #144 (new defect)
tla to hg trouble: files are missing on the target
|Reported by:||lele||Owned by:||lele|
From Kevin on the ML:
Hi, I have a small tla archive which I want to convert to mercurial.
The branch I'm interested in has about 8 patches. The problem is that about 3 of those patches add new files, but they don't get added in the hg tree. after tailor runs, the files have been copied into the hg tree, but they haven't been added, so hg reports them as untracked files.
I've posted a small tarball containing the tla archive (just the one branch, with 8 patches) and my tailor config file at http://astrophoenix.com/tailor_tla_to_hg_bug.tar.gz
when you extract it, you'll get a directory called 'bug' which has in it the tla archive, and the tailor config file. the tailor config file uses /tmp/bug as its directory, so it's easiest if you extract it in /tmp
plus you'll have to register the archive in tla:
tla register-archive email@example.com /tmp/bug/progsutils
then just run tailor in the /tmp/bug/ directory like this:
tailor -D -v --configfile magicsquare.tailor
and you should end up with a magicsquare.hg directory which, when you run hg status on it, will look like this:
hg status ? .arch-ids/factor.id ? .arch-ids/factor_22jul2000.tar.gz.id ? .arch-ids/xpermutations.py.id ? factor ? factor_22jul2000.tar.gz ? xpermutations.py
those last 3 files should have been added a few patches back, and it would also be nice if .arch-ids was added to .hgignore :)
versions of software I'm using:
I'm running on ubuntu gutsy gibbon which provides me with tla-1.3.3-2.
I fetched tailor via darcs on december 8, 2007: darcs get --partial http://darcs.arstecnica.it/tailor
I've tried three different mercurial versions: the one that ships with gutsy (0.9.4), and then two diffferent stable snapshots: one from about a month ago ( 0b3f910dfd17) and one from december 8, 2007 (924fd86f0579). same behavior with all three versions of mercurial.
am I doing something wrong in my tailor config file, or is this a bug?
after this, I have a bunch of other tla archives to convert too, this was the first one. :(