Bug 170825 - [Repo View] Repo view should auto-refresh on commit
Summary: [Repo View] Repo view should auto-refresh on commit
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.2.1   Edit
Hardware: PC Windows XP
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2007-01-17 15:12 EST by Magda Bologa CLA
Modified: 2019-09-06 16:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Magda Bologa CLA 2007-01-17 15:12:08 EST
There is a Refresh issue in CVS Repository View when Commit a file to CVS Repository (the old version from Head will show up e.g. v.1.1 in CVS Repository View instead of the new committed file e.g. v. 1.2 – this can be confusing for user because if he perform a Compare With ->HEAD from CVS Repositories View, will report differences if you did not refresh CVS Repository View after committing your files
If the user will Perform Refresh View Command from Context menu in CVS Repositories View in RSx, when Compare With ->HEAD from CVS Repositories View will report  no differences anymore (version will increase in CVS Repository for your file from 1.1. to 1.2 and no differences reported

Steps:
User1:
In the Java Perspective:
- Create a Java Project with a Java Class Class1.java and add to CVS Source Control (from Team->Share Project context menu in Java Perspective) 
- Commit all to CVS repository

User2:
- As different user check-out the Java Project from CVS Repository Exploring - - Check the revision version of Class1.java file - should be version 1.1 (for example)
- In the Java Perspective, modify Class1.java as user2 save and Commit to CVS Repository
-Switch to CVS Repository Exploring  Perspective 
Actual: notice that the version of Class1.java is still 1.1 instead of 1.2 - 
You need to perform Refresh View to get the latest version from HEAD

- If user does not refresh the CVS Repository EXploring View and perform a Compare with ->Head from context menu of the revision in CVS Repositories View, differences will be reported from version 1.1 to version 1.2 (even if the version in head is 1.2 and the local version is 1.2 as well (since user2 commited changes)

- If user does Refresh the CVS Repository Exploring View, Class1.java will show as version 1.2 and when perform a Compare with ->Head from context menu of the revision in CVS Repositories View, no differences will be reported
Comment 1 Michael Valenta CLA 2007-01-17 15:27:59 EST
This is expected behavior. However, it would be possible to refresh the view when a commit occurs. Ideally, only the relevant subtree in the repository would be refreshed. Unfortunately, we don;t have the manpower to address this issue at this time.
Comment 2 Eclipse Webmaster CLA 2019-09-06 16:12:33 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.