Hi, On Mon, Feb 20, 2006 at 03:50:10AM -0800, Andy Tai wrote: > > In your example, assuming you were using tla mv, then only the old a.c > would be committed now under the name b.c; assuming no other files > exist the effect would be the same as > > tla commit -- b.c > > So the problem does not depend on how the file list to commit is specified.. > > Let me know if I miss something..
nice example. You say that a) "only the old a.c would be committed now under the name b.c", and b) "the effect would be the same as 'tla commit -- b.c'" This seems to be intuitively correct, but see what happens: [EMAIL PROTECTED]:~> tla --version The GNU Arch Revision Control System (tla) 1.3.4 tla--atai--1.3--patch-26 built on Jan 5 2006 Copyright 2003, 2004, 2005 Free Software Foundation, Inc. and contributors This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Report problems to gnu-arch-users@gnu.org See: http://www.gnu.org/software/gnu-arch [EMAIL PROTECTED]:/tmp> mkdir test [EMAIL PROTECTED]:/tmp> cd test/ [EMAIL PROTECTED]:/tmp/test> HOME=`pwd` bash [EMAIL PROTECTED]:~> tla my-id "<[EMAIL PROTECTED]>" [EMAIL PROTECTED]:~> tla make-archive [EMAIL PROTECTED] $HOME/archive [EMAIL PROTECTED]:~> mkdir test [EMAIL PROTECTED]:~> cd test [EMAIL PROTECTED]:~/test> tla init-tree [EMAIL PROTECTED]/test--0 [EMAIL PROTECTED]:~/test> touch a.c [EMAIL PROTECTED]:~/test> touch d.c [EMAIL PROTECTED]:~/test> tla add a.c d.c [EMAIL PROTECTED]:~/test> tla import -L 'test' * creating version [EMAIL PROTECTED]/test--0 * imported [EMAIL PROTECTED]/test--0 [EMAIL PROTECTED]:~/test> tla mv a.c b.c [EMAIL PROTECTED]:~/test> tla mv d.c a.c [EMAIL PROTECTED]:~/test> tla commit -L 'test' -- b.c make-changeset --files: the file specified as b.c is not the same as the one in the project tree (/test/test/./a.c) Oops. One of your claims above must be wrong. (I haven't tried this with your patch and '-x'.) What I'm trying to say is actually two things that I shouldn't have mixed in my previous mail: - The problem of partial commits is only partially solved. It would be nice to have a complete solution. - I don't see the benefit of your '-x' option. It introduces yet another partial solution to a known problem, thereby further complicating the user interface. Bye, Peter -- Peter Conrad Tel: +49 6102 / 80 99 072 [ t]ivano Software GmbH Fax: +49 6102 / 80 99 071 Bahnhofstr. 18 http://www.tivano.de/ 63263 Neu-Isenburg Germany _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/