Re: recent changes

Peter Conrad <[email protected]>
Newsgroups gmane.comp.version-control.arch.user
Message-ID <[email protected]>
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:

pconrad@adams:~> 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 [email protected]
See: http://www.gnu.org/software/gnu-arch

pconrad@adams:/tmp> mkdir test
pconrad@adams:/tmp> cd test/
pconrad@adams:/tmp/test> HOME=`pwd` bash
pconrad@adams:~> tla my-id "<[email protected]>"
pconrad@adams:~> tla make-archive [email protected] $HOME/archive
pconrad@adams:~> mkdir test
pconrad@adams:~> cd test
pconrad@adams:~/test> tla init-tree [email protected]/test--0
pconrad@adams:~/test> touch a.c
pconrad@adams:~/test> touch d.c
pconrad@adams:~/test> tla add a.c d.c
pconrad@adams:~/test> tla import -L 'test'
* creating version [email protected]/test--0
* imported [email protected]/test--0
pconrad@adams:~/test> tla mv a.c b.c
pconrad@adams:~/test> tla mv d.c a.c
pconrad@adams:~/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
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.