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/
% tla get -A 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:

hgext.convert =

Run hg convert...

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