darcs

Issue 1254 print filename under hunk too in record

Title print filename under hunk too in record
Priority wishlist Status given-up
Milestone 2.8.0 Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, galbolle, jaredj, kowey, mndrix, thorkilnaur, tux_rocker, twb
Assigned To
Topics UI

Created on 2008-12-05.12:10:12 by galbolle, last changed 2017-07-31.00:37:51 by gh.

Messages
msg6773 (view) Author: galbolle Date: 2008-12-05.12:10:05
In record's interactive interface, it would be nice to print again the name of
the file being modified under the hunk, in case the hunk is more than one screenful.
msg7207 (view) Author: twb Date: 2009-01-26.08:05:42
Hi Florent,

On Fri, Dec 05, 2008 at 01:10:05AM +0000, Florent Becker wrote:
> In record's interactive interface, it would be nice to print again the name of
> the file being modified under the hunk, in case the hunk is more than one screenful.

Can you produce a mockup transcript that shows how you'd like this to behave?
msg7219 (view) Author: galbolle Date: 2009-01-27.11:35:51
You'd get the following:

hunk path/to/file 260
-[51 lines of old code]
+[42 lines of new code]
end of hunk path/to/file 260 **************************************
Shall I record this change? (2/2)  [ynWsfvpxdaqjk], or ? for help:

The line with the stars is new (the star should not be printed of course). Also,
the second 260 could become 302 or go away. This information (which file are we
in) is often the most crucial one, so having it just above the question is valuable.
msg7220 (view) Author: galbolle Date: 2009-01-27.11:37:12
Just to clarify, the above message represents one question asked by darcs during
record about a hunk.
msg11497 (view) Author: tux_rocker Date: 2010-06-20.14:02:52
Bumping to 2.6. If someone thinks it should really be in 2.5, he or she
may change the milestone back and implement it.
msg15256 (view) Author: mathiase Date: 2012-03-09.23:07:40
Only changing Darcs.Patch.FileHunk.showFileHunk is not correct because it 
also changes the way pathes are written on the disk (i.e: creating 
corrupted repositories).
History
Date User Action Args
2008-12-05 12:10:12galbollecreate
2009-01-26 08:05:45twbsetstatus: unread -> unknown
nosy: + twb
messages: + msg7207
2009-01-27 11:36:01galbollesetnosy: kowey, dagit, simon, twb, thorkilnaur, jaredj, dmitry.kurochkin, galbolle
messages: + msg7219
2009-01-27 11:37:19galbollesetnosy: kowey, dagit, simon, twb, thorkilnaur, jaredj, dmitry.kurochkin, galbolle
messages: + msg7220
2009-08-10 23:52:48adminsetnosy: - dagit
2009-08-22 10:28:09koweysetstatus: unknown -> needs-implementation
nosy: kowey, simon, twb, thorkilnaur, jaredj, dmitry.kurochkin, galbolle
topic: + Target-2.4
2009-08-25 17:35:37adminsetnosy: + darcs-devel, - simon
2009-08-27 14:29:12adminsetnosy: kowey, darcs-devel, twb, thorkilnaur, jaredj, dmitry.kurochkin, galbolle
2009-09-14 10:54:38koweysettopic: + Target-2.5, - Target-2.4
nosy: kowey, darcs-devel, twb, thorkilnaur, jaredj, dmitry.kurochkin, galbolle
2010-06-15 20:52:00adminsetmilestone: 2.5.0
2010-06-15 20:59:23adminsettopic: - Target-2.5
2010-06-20 14:02:53tux_rockersetnosy: + tux_rocker
messages: + msg11497
milestone: 2.5.0 -> 2.8.0
2012-02-24 05:44:13mndrixsetnosy: + mndrix
2012-03-09 23:07:41mathiasesettopic: - ProbablyEasy
messages: + msg15256
2017-07-31 00:37:51ghsetstatus: needs-implementation -> given-up