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

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

Re: [Gnu-arch-users] Re: file-limited commit on new file


From: Jean
Subject: Re: [Gnu-arch-users] Re: file-limited commit on new file
Date: Sat, 03 Jan 2004 02:45:52 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3

Tom Lord wrote:

   > From: Miles Bader <address@hidden>

   > As was pointed out in the previous threads, there are natural and 
consistent
> methods of dealing with such cases.
That's false.  Previous threads came up with one idea that _might_ be
natural (and very well might not) and needs some work to actually be
rigorously enough described to be implemented.

   > The undo recipe you mention often won't work because -- in my experience --
   > one usually realizes the need to commit the new file _after_ adding it, so
   > you really have to do something like:

   >    mv new-file.c ,new-file.c
   >    tla undo
   >    mv ,new-file.c new-file.c
   >    tla commit ...
   >    tla redo

Oh the horror.

But an effective one and easily automated in a shell script. I happen to have just encountered this problem and using this recipe allowed me to insert my new files in a clean changeset. However if this is truly horrible (apart from being heavy on the user) I would love to hear of a better alternative, I can't think of one right now.

Jean
ps: sorry tom, missed the reply all on the first time

-t



_______________________________________________
Gnu-arch-users mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/





reply via email to

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