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

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

Re: [Gnu-arch-users] recent changes


From: Peter Conrad
Subject: Re: [Gnu-arch-users] recent changes
Date: Tue, 21 Feb 2006 09:22:13 +0100
User-agent: Mutt/1.5.9i

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:

address@hidden:~> 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 address@hidden
See: http://www.gnu.org/software/gnu-arch

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




reply via email to

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