[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] tla-update-ids --id-hint-tree doesn't recurse properly
From: |
Magnus Henoch |
Subject: |
[Gnu-arch-users] tla-update-ids --id-hint-tree doesn't recurse properly |
Date: |
Tue, 14 Jun 2005 16:05:24 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) |
tla-update-ids --id-hint-tree doesn't recurse into subdirectories for
me. That is, top-level files and directories in the target tree get
the same ids as in the source tree, but files in subdirectories don't.
I'm using tla 1.3-1 and tla-tools 2005.0.patch.23-1 from Debian
testing.
Here is a test case. Files foo and bar get expected ids, but bar/baz
gets a newly generated id.
cd /tmp
mkdir tla-update-ids-test
cd tla-update-ids-test
mkdir foo
cd foo
touch foo
mkdir bar
touch bar/baz
tla init-tree foo--main--0
tla-update-ids
cd ..
mkdir bar
cd bar
touch foo
mkdir bar
touch bar/baz
tla init-tree bar--main--0
# Note that two ids are copied, not three
tla-update-ids --id-hint-tree=../foo
cd ..
cd foo
tla inventory --both --ids |sort > ../foo-inventory
cd ../bar
tla inventory --both --ids |sort > ../bar-inventory
cd ..
# These should be identical
diff -u foo-inventory bar-inventory
Magnus
- [Gnu-arch-users] tla-update-ids --id-hint-tree doesn't recurse properly,
Magnus Henoch <=