Step 1: Construct a GNU-Arch project tree.

Execute following commands. Note that you must register archive before getting the tree.

$ cd working_directory
$ tla register-archive http://url/to/archarchives/somebody@example.org--FOOBAR/
$ tla get -A somebody@example.org--FOOBAR FOOBAR--main

Above commands generate working_directory/FOOBAR--main--patch-XX directory.

Step 2: Convert from the GNU-Arch's tree to Mercurial repository.

Remember to enable the Mercurial convert extension. To enable, add following lines to your .hgrc:

[extensions]
hgext.convert =

Run hg convert...

$ hg convert working_directory/FOOBAR--main--patch-XX