[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-arch] Need help on importing first tree. Following the tut
From: |
Jean Helou |
Subject: |
Re: [Help-gnu-arch] Need help on importing first tree. Following the tutorial only makes me import and empty dir. |
Date: |
Mon, 26 Jan 2004 19:38:29 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031221 Thunderbird/0.4 |
Sven Luther wrote:
Hello,
I am trying to learn how to use arch, and i am faced with a problem
following the tutorial.
I have followed the tutorial, but it seems that the files don't get
added to the archive, and only an empty file is commited.
For information, i do :
tla my-id "Sven Luther <address@hidden>"
tla make-archive address@hidden ~/debian/ARCH/parted
tla my-default-archive address@hidden
tla archive-setup debian--mainline--1.0
=> move into initial import tree
tla init-tree debian--mainline--1.0
=> tla inventory --names --source shows me all the files.
vi `tla make-log` => and adds initial import Summary.
tla import
=> ERROR :
These files would be source but lack inventory ids (`tla add' or a
tagline perhaps?):
debian
parted_1.6.6.orig.tar.gz
* imported address@hidden/debian--mainline--1.0
From this it seems that your directory _has_ been imported, but it is
considered empty since your files weren't tagged
tla add debian
tla add parted_1.6.6.orig.tar.gz
This is okay, it tags the files for your future operations (such as
commit -hint, hint- )
tla import
import: tree already has patch log entries for version
tree: /home/luther/debian/parted/repo
version: address@hidden/address@hidden:~/debian/parted/repo$
Well, it _has_ been imported once before, therefore you should do
$>tla make-log
edit the log file
$>tla commit
And your files will be commited as a new patch to the empty tree, you
can't "re-import" the version.
But when trying to tla get from elsewhere, i get only an empty dir with
an {arch} directory in it, and sure enough :
cd ~/debian/ARCH/parted/debian/debian--mainline/debian--mainline--1.0/base-0
tar tzvf debian--mainline--1.0--base-0.src.tar.gz
drwxr-xr-x luther/luther 0 2004-01-26 16:30:02
debian--mainline--1.0--base-0/
drwxr-xr-x luther/luther 0 2004-01-26 16:30:02
debian--mainline--1.0--base-0/{arch}/
-rw-r--r-- luther/luther 52 2004-01-26 16:30:02
debian--mainline--1.0--base-0/{arch}/.arch-project-tree
-rw-r--r-- luther/luther 6803 2004-01-26 16:30:02
debian--mainline--1.0--base-0/{arch}/=tagging-method
drwxr-xr-x luther/luther 0 2004-01-26 16:30:02
debian--mainline--1.0--base-0/{arch}/debian/
drwxr-xr-x luther/luther 0 2004-01-26 16:30:02
debian--mainline--1.0--base-0/{arch}/debian/debian--mainline/
drwxr-xr-x luther/luther 0 2004-01-26 16:30:02
debian--mainline--1.0--base-0/{arch}/debian/debian--mainline/debian--mainline--1.0/
drwxr-xr-x luther/luther 0 2004-01-26 16:30:02
debian--mainline--1.0--base-0/{arch}/debian/debian--mainline/debian--mainline--1.0/address@hidden/
drwxr-xr-x luther/luther 0 2004-01-26 16:30:02
debian--mainline--1.0--base-0/{arch}/debian/debian--mainline/debian--mainline--1.0/address@hidden/patch-log/
-rw-r--r-- luther/luther 303 2004-01-26 16:30:02
debian--mainline--1.0--base-0/{arch}/debian/debian--mainline/debian--mainline--1.0/address@hidden/patch-log/base-0
Not a single mention of my files.
See before.
I did this two times, following the instructions to the letter, at least
this seems so to me, but without luck.
Actually you reversed 2 operations : you didn't tag the files before
importing. and then you tried to reimport over an existing version.
Hope this helps
Jean Helou