One of our users reported this:
==================================================================
PROBLEM:
In the viewprivate tab, a directory is checked-out, with diffs (removed file src/com/int/bin/A.c):
host src/com/int/bin % cleartool diff -pred . ******************************** <<< directory 1: /vobs/vb108/<some_more_dirs>/0 >>> directory 2: . ******************************** -------------[ removed ]---------------|--------------------------------------- A.c 2011-07-08 cap |- host src/com/int/bin %
But this is not shown in the viewprivate tab: selecting src/com/int/bin/A.c, right mouse button, compare with, predecessor.
==================================================================
I tried to reproduce and noticed that it is not possible to perform a compare with predecessor on a directory. You will get an error. As far as I know. there is no other way with the ClearCase plugin to detect which file was deleted.
Could we add this functionality (e.g. compare directory with... > [predecessor | Changeset predecessor | View]) to get an overview of changed files, including deleted files?
My steps to reproduce:
In a dumbo QBL view:
- start Eclipse
- open ViewPrivate view
- In the Project Explorer Open a project (e.g. with the following structure: src/com/int/bin)
- Remove a file via the ClearCase menu: ClearCase > Delete (I chose A.c)
- Note the directory is checked out in the ViewPrivate View (here: src/com/int/bin)
- Right-click the checked-out directory and choose: Compare With > Predecessor
- Note the error: "You need to select a file! Reason: "
- Check diff on the command line: cd src/com/int/bin; cleartool diff -pred .
- Note it shows the file as removed (here: A.c)
Version info:
Wind River Workbench
Version: 3.3.4 20130228-1031
Powered by Eclipse Juno
Version: 3.8.1 M20120914-1540
ClearCase Java API
Version: 2.2.34.201311111353
Eclipse ClearCase Integration Core / UI
Version: 2.2.34.201311111353
I will have a look at this asap.
//mike