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 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Reply via email to