How to recursively add files and directories in GNU Arch

Last week we moved from Subverion to GNU Arch. Why? I’ll try to explain in next posts. So, we needed to import our project (it contains many files and directories) in the new Arch repository. Leonid created a shell script to do that. But I’ve found easier (IMHO) way to do that.


tla inventory --source --names | xargs tla add

P.S. If you have some files in the Arch repository and some of them no you can do as indicated above. But in that case you’ll see warnings about already added files and directories. To avoid it run following command:

tla tree-lint --untagged-files | xargs tla add

Leave a Reply

Your email address will not be published. Required fields are marked *