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

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

[Gnu-arch-users] Losing information in *.rej


From: Stefan Monnier
Subject: [Gnu-arch-users] Losing information in *.rej
Date: 02 Mar 2004 18:29:20 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

I think an important aspect of a revision control system is to try to make
it difficult for the user to lose information.
In this respect, `tla' has a weak spot: the handling of conflicts.

I think tla should be more careful to refuse to commit/update/replay/merge
a file if it still has an associated .rej.  Or at least should make it
difficult (i.e. reuse to do it unless the user provides a --force flag).

I've just gone through a `tla replay' that replaced a bunch of non-resolved
.rej files with others and it's pretty messy now.  Maybe you'll say I was
an idiot and tla shouldn't prevent me from shooting my own foot, but at
least former CVS users will appreciate.  Along the same lines `tla changes'
might list files with pending .rej files as `C' to indicate that they have
unresolved conflicts.

It seems that the .rej files that got replaced by `tla replay' have not
been destroyed but renamed, which is good, but I don't think it's
sufficient because I don't have the corresponding source file any more and
trying to find those old .rej files and figure out what to apply in which
order is nastier than I'd like.

If you like the current behavior, than instead of a --force, you could
add an --idiot-safety-belt flag.


        Stefan




reply via email to

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