"tla build-config" question and suggestion

Pedro Perez <[email protected]>
Newsgroups gmane.comp.version-control.arch.user
Message-ID <[email protected]>
Hello Everyone,
    Today, while trying to use "tla build-config" I tried to used the 
following configuration file:

./patches   [email protected]/lfs--patches--4.0
./packages  [email protected]/lfs--packages--4.0
../static        [email protected]/images--static--4.0

and got an error. Here is the error message:
"arch_read_config: illegal config file (lfs--scripts.conf)"

Apparently the extra dot in front of ./static is not an acceptable 
character/path for tla.

Later today, I tried the following configuration file:
./lfs/.           [email protected]/lfs--scripts--0.1
./lfs/patches   [email protected]/lfs--patches--4.0
./lfs/packages  [email protected]/lfs--packages--4.0
./static        [email protected]/images--static--4.0

and got an error. Here is the error message:
get: output directory already exists 
(/home/pperez/tla-archives/configs/lfs/.)

After further further review (by looking carefully at the configuration 
file documented in the tutorial) I realized that I should not append a 
"/." to the end of "./lfs".

So question one is, is a double dot (parent directory) an illegal path 
for "tla build-config" ?
Question two is, why ./lfs/. does not work but ./lfs does work?

The only explanation in the tutorial about the syntactics of a 
configuration file read like this:
"The |CONTENTS| field can be a branch (meaning, get the latest revision 
of the latest version on that branch), a version (meaning get the latest 
revision in that version), or a revision name (meaning get that 
revision, exactly)."

There is no definition for LOCATION.

Here is a question/suggestion, should tla have a check-config command 
that parses a config file and informs the user of any errors?

--
Pedro Perez
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.