Bug 62697 - Preview of previous version of file in CVS Log dialog
Summary: Preview of previous version of file in CVS Log dialog
Status: RESOLVED FIXED
Alias: None
Product: cervisia
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Christian Loose
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-15 02:16 UTC by greendeath
Modified: 2003-08-28 15:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description greendeath 2003-08-15 02:16:04 UTC
Version:           2.0 (using KDE KDE 3.1)
Installed from:    Unspecified

Ability to view (without updating) another version of file from CVS Log dialog (from both tree/list modes) will be great.

Algorithm:

1) Temp file with other version created
2) Kate (or eny other external editor) started in read only mode
3) Temp file removed after using

Feature could be accessible through button and(or) context menu.

Emacs VC mode can be used as model of implementation.
Comment 1 Andre Woebbeking 2003-08-15 15:07:48 UTC
Subject: Re:  New: Preview of previous version of file in CVS Log dialog

On Friday 15 August 2003 02:16, you wrote:
> Ability to view (without updating) another version of file from CVS Log
> dialog (from both tree/list modes) will be great.

you can do this with Annotate. Select the wanted revision with left mouse 
button or key 'A' (select as revision A) and press the Annotate button.


Cheers,
Andr
Comment 2 greendeath 2003-08-15 17:19:22 UTC
Probably my idea is not completely redundant. "Annotate" just shows plain text 
file (+ developer + version - it's not always necessary). Kate (Emacs, vi, or 
other editor with syntax) will definitely help to look through code (Find is 
not bad addition to "Annotate" dialog too :-). Same for binary files which 
could be viewed with external viewers selected by MIME type.

With best regards,
Eugene.
Comment 3 Andre Woebbeking 2003-08-16 17:28:02 UTC
Subject: Re:  Preview of previous version of file in CVS Log dialog

> Probably my idea is not completely redundant. "Annotate" just
> shows plain text file (+ developer + version - it's not always
> necessary). Kate (Emacs, vi, or other editor with syntax) will
> definitely help to look through code (Find is not bad addition to
> "Annotate" dialog too :-). Same for binary files which could be
> viewed with external viewers selected by MIME type.

Good points. Both things are useful additions to Cervisia and. Thanks 
for your suggestions.


Andr
Comment 4 Christian Loose 2003-08-28 15:03:56 UTC
Subject: kdesdk/cervisia

CVS commit by cloose: 

Added a new button (View) to the log dialog to view 
the selected revision of a file in the preferred editor. 

CCMAIL: 62697-done@bugs.kde.org


  M +5 -0      ChangeLog   1.97
  M +62 -3     logdlg.cpp   1.39
  M +3 -0      logdlg.h   1.19