darcs

Issue 298 Backup working dir files when conflicts are found

Title Backup working dir files when conflicts are found
Priority wishlist Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy
Assigned To
Topics Conflicts

Created on 2006-10-13.09:55:02 by kowey, last changed 2009-08-27.14:05:25 by admin.

Messages
msg1081 (view) Author: kowey Date: 2006-10-13.09:54:49
Import of RT #91

markstos <mark@summersault.com> 2004-10-11
------------------------------------------
I like CVS' simple solution [to help recover from conflicts]. From
the CVS docs:

> "CVS tells you that there were some conflicts. Your original working
file is
> saved unmodified in `.#driver.c.1.4'."

Do others have interest in seeing something like this added to the darcs
conflict resolution system?

I think I would appreciate this additional recovery options (and I would
imagine others migrating from CVS would appreciate it as well).

markstos 2004-11-17
-------------------
I ran into another case today where this feature seemed useful.

I just did a 'pull' on the 'darcs-unstable' repo. I got the message:

You have conflicting local changes to:
./ReportBug.lhs

I thought "Oh, I'll look at what those are.".

But the file had been removed (I understand the feature was removed).

If there really were local changes that had been made to file, this
seems like
a data-loss case.

Adding (at least optional) backup files when conflicts happen seems like
an easy safety measure, and a helpful additional conflict resolution tool.

Instead of appending a revision to the file name like CVS does, darcs
could just use a
string generated from the date. With a granularity down to a second,
that should allow you to have several backups of the same file.

guest 2005-06-28
----------------
I would like a conflict resolver kinda like what BitKeeper has. An
interactive merge tool where you can choose which hunks to use for the
merged version of the file.
msg1082 (view) Author: kowey Date: 2006-10-13.09:58:55
Worth looking at issue274 (simonpj's use case)
msg2237 (view) Author: kowey Date: 2007-11-04.22:54:41
Implemented in unstable:

Sun Oct 28 13:11:01 CET 2007  Eric Kow <eric.kow@loria.fr>
  * [issue298] Backup conflicted working dir files as needed.
History
Date User Action Args
2006-10-13 09:55:02koweycreate
2006-10-13 09:59:07koweysetstatus: unread -> unknown
nosy: droundy, tommy, kowey, markstos
messages: + msg1082
2007-07-23 14:07:15koweysettopic: - FromRequestTracker
nosy: + beschmi
2007-11-04 22:54:42koweysetstatus: unknown -> resolved-in-unstable
nosy: kowey, markstos, droundy, tommy, beschmi
messages: + msg2237
2008-09-04 21:29:33adminsetstatus: resolved-in-unstable -> resolved
nosy: + dagit
2009-08-06 17:46:38adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy
2009-08-06 20:42:20adminsetnosy: - beschmi
2009-08-10 21:56:49adminsetnosy: - darcs-devel, zooko, jast, Serware, mornfall
2009-08-10 23:56:50adminsetnosy: - dagit
2009-08-25 17:58:27adminsetnosy: + darcs-devel, - simon
2009-08-27 14:05:25adminsetnosy: tommy, kowey, markstos, darcs-devel, thorkilnaur, dmitry.kurochkin