Re: [Help-gnu-arch] Help composing a sample session

Ivan Shmakov <[email protected]> Tue, 15 Jan 2008 19:08:07 +0600
Newsgroups gmane.comp.version-control.arch.user
Message-ID <[email protected]>
>>>>> Eric S Raymond <[email protected]> writes:

 > I'm trying to write a sample Arch session for a survey paper I'm
 > working on, and failing.

 > Here's my sequence of commands;

[...]

 > tla init-tree example--trunk--0.1

	Note that this command doesn't affect the archive.

 > echo "This is a one-liner file." >foo.txt
 > tla add foo.txt
 > tla make-log

 > The last command echoes this:

 > [email protected]

 > I then edit the log file, 

 > The problem cones when I try to commit:

	Are you using $ tla commit here?

 > commit: tree has no patch log entries for version
 > tree: /home/esr/public_html/writings/version-control
 > version:[email protected]/example--trunk--0.1

 > This log message is actually missing its trailing \n, so my next
 > shell prompt is run on to it.

 > What am I doing wrong here?

	You cannot add a `patch' revision to a non-existent version.
	You're expected to use $ tla import first to create a `base'
	revision for a version instead.

	I hope it's not too late for your survey.

PS.  While I'd appreciate GNU Arch being used to hold the GNU Emacs
	source, it's probably just too late for GNU Arch, after all this
	breed of DVCS has emerged.

	I'm proud that GNU Arch was the first DVCS for me to learn, and
	I'm sure it's mostly due to GNU Arch that I'm able to ``get
	into'' any other DVCSes out there rather quickly.