Community
Participate
Working Groups
We need an "Add to workspace" menu item in the history view for a given revision. This should scheduled for week of Jan 7th.
We are in a situation now where a file from the repository might exist in more than one workspace location. If the history view was seeded from an IResource, then we know where to add it to. If, however, the history view was seeded from an IRemoteResource, e.g. from the Repositories View, we have no reasonable way to determine if the item can be added to the workspace, or if so, where. In this case we should disable the action. Kevin, your thoughts?
Implemented as described below. If the resource history comes from a remote file (i.e. from the repo view), the Add action is not present. If it comes from a local file (i.e. from the navigator), the Add action is there. Doesn't work due to bug 7247, but will work fine when that is fixed. Closing PR.