gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] 'tla file-diffs' error in some circumstances


From: David B Harris
Subject: [Gnu-arch-users] 'tla file-diffs' error in some circumstances
Date: Wed, 10 Sep 2003 01:48:32 -0400

I do hope this is the correct list to send this to. :) If it isn't, I'd
much appreciate it if somebody could bounce it to the appropriate forum.
(I'm subscribed to the list, by the way, so please don't Cc: me on
replies.)

Anyhoo, I've run into something of a bug. I've verified it with
tla-1.1pre4.tar.gz compiled myself, tla-1.1pre5.tar.gz also compiled
myself, and with Andrew Suffield's tla_20030908-1_i386.deb from
http://people.debian.org/~asuffield/arch/

In all cases, I'm using an up-to-date (as of Wed, Sep 10, 04:14 UTC)
Debian Sid system.

Below is a terminal log showing the problem I have; for easy searching I
have added the tag "# The problem starts here" for when it gets
interesting. Also attached are strace logs from a successful run and
from a failed run. (After writing this, I realised the terminal log was
quite long, so I have also attached it as terminal-log.txt in case
somebody wishes to view it outside their MUA.)

~/temp/ is a mountpoint and has one directory unwritable by myself,
~/temp/lost+found/

[ address@hidden: ~/temp/ ]$ tla my-default-archive -d
default archive removed
[ address@hidden: ~/temp/ ]$ tla register-archive -d address@hidden
archive not registered: address@hidden
  (see register-archive)
[ address@hidden: ~/temp/ ]$ rm -rf archives
[ address@hidden: ~/temp/ ]$ tla make-archive address@hidden ~/temp/archives
[ address@hidden: ~/temp/ ]$ tla my-default-archive address@hidden
[ address@hidden: ~/temp/ ]$ mkdir hw
[ address@hidden: ~/temp/ ]$ cd hw
[ address@hidden: ~/temp/hw/ ]$ echo "# arch-tag: $(uuidgen)" > foo.sh
[ address@hidden: ~/temp/hw/ ]$ echo "# arch-tag: $(uuidgen)" > bar.sh
[ address@hidden: ~/temp/hw/ ]$ tla archive-setup hw--mainline--0
* creating category address@hidden/hw
* creating branch address@hidden/hw--mainline
* creating version address@hidden/hw--mainline--0
[ address@hidden: ~/temp/hw/ ]$ tla init-tree hw--mainline--0
[ address@hidden: ~/temp/hw/ ]$ tla tagging-method tagline
method set: tagline
[ address@hidden: ~/temp/hw/ ]$ tla import -L "Test import of hello-world"
* imported address@hidden/hw--mainline--0
[ address@hidden: ~/temp/hw/ ]$ echo foo >> bar.sh
[ address@hidden: ~/temp/hw/ ]$ tla commit -L "Test commit"
M  bar.sh
* update pristine tree (address@hidden/hw--mainline--0--base-0 => 
hw--mainline--0--patch-1)
* commited address@hidden/hw--mainline--0--patch-1
[ address@hidden: ~/temp/hw/ ]$ cd ..
[ address@hidden: ~/temp/ ]$ rm -rf hw # The problem starts here
[ address@hidden: ~/temp/ ]$ tla get hw--mainline
* from import revision: address@hidden/hw--mainline--0--base-0
* patching for revision: address@hidden/hw--mainline--0--patch-1
* making pristine copy
* tree version set address@hidden/hw--mainline--0
[ address@hidden: ~/temp/ ]$ cd hw--mainline--0--patch-1/
[ address@hidden: ~/temp/hw--mainline--0--patch-1/ ]$ tla file-diffs foo.sh
[ address@hidden: ~/temp/hw--mainline--0--patch-1/ ]$ echo $?
0
[ address@hidden: ~/temp/hw--mainline--0--patch-1/ ]$ cd ..
[ address@hidden: ~/temp/ ]$ mv hw--mainline--0--patch-1 hw
[ address@hidden: ~/temp/ ]$ cd hw
[ address@hidden: ~/temp/hw/ ]$ tla file-diffs foo.sh
Error during call to `vu_chdir' for ./ (No such file or directory)
PANIC: I/O error
[ address@hidden: ~/temp/hw/ ]$ echo $?
2
[ address@hidden: ~/temp/hw/ ]$ cd ..
[ address@hidden: ~/temp/ ]$ rm -rf hw
[ address@hidden: ~/temp/ ]$ tla get hw--mainline hw
* from import revision: address@hidden/hw--mainline--0--base-0
* patching for revision: address@hidden/hw--mainline--0--patch-1
* making pristine copy
* tree version set address@hidden/hw--mainline--0
[ address@hidden: ~/temp/ ]$ cd hw
[ address@hidden: ~/temp/hw/ ]$ tla file-diffs foo.sh
Error during call to `vu_chdir' for ./ (No such file or directory)
PANIC: I/O error
[ address@hidden: ~/temp/hw/ ]$ echo $?
2
[ address@hidden: ~/temp/hw/ ]$ cd ..
[ address@hidden: ~/temp/ ]$ mv hw hw--mainline
[ address@hidden: ~/temp/ ]$ cd hw--mainline
[ address@hidden: ~/temp/hw--mainline/ ]$ tla file-diffs foo.sh
[ address@hidden: ~/temp/hw--mainline/ ]$ echo $?
0

Thanks :)


Attachment: file-diffs-successful.strace.log
Description: Binary data

Attachment: file-diffs-unsuccessful.strace.log
Description: Binary data

Attachment: terminal-log.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]