Bug 84183 - [Sync Info] Copy resource from one branch to another, file properties shows wrong tag.
Summary: [Sync Info] Copy resource from one branch to another, file properties shows w...
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 198373 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-01 16:09 EST by MG CLA
Modified: 2019-09-06 16:03 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MG CLA 2005-02-01 16:09:41 EST
If you copy a file from the head say back into a branch which does not have
those files then the files are copied with their cvs connection to the head
intact, that in itself is fine.  Now if I want to commit these files to the
branch I thought I could use the usually file, properties, cvs, disconnect but
that option is not there.  Also the properties for this file now claim that the
file has the tag of the branch whereas the file is not associated with the
branch it is associated with the head.

Is there a different work flow I should be following to do this kind of action?
 It is inconvient to go outside of eclipse to the windows file manager and copy
the files in b/t branches like this.  At minimum I'd like to have the disconnect
button back.
Comment 1 Michael Valenta CLA 2005-02-01 16:21:41 EST
What do you mean by "copy a file from HEAD to branch"? Please, could you 
provide an explicit set of steps to reproduce the problem and stated what 
behavior you saw and the expected behavior? Also, could you include the 
Eclipse build you are using?
Comment 2 MG CLA 2005-02-01 18:04:29 EST
I am using e3m4.  The disconnect button is actually still there I didn't realize
it only exists on the directory and not on the individual resources within the
directory.

Original State
----------------
HEAD project
src/dir1/file1.java
src/dir1/file2.java

Branch project
src/hello [ascii]

Steps:
==========================

1.  Select dir1 in navigator from head project, rc, copy.

2.  navigate to src in branch project paste.

3.  cvs head info tagging information takes a while to propagate and list them
as head resources

4.  rc one of the newly copied files and click cvs.  

5.  notice that the tag listed is branch and not head for this resource.


new State
----------------
HEAD project [HEAD]
src/dir1/file1.java
src/dir1/file2.java

Branch project [BRANCH_NAME]
src/hello [ascii]
src/dir1/file1.java [HEAD]
src/dir1/file2.java [HEAD]


Ideally I could copy the files wo their cvs tag affliation being copied as well.

Hope that makes more sense.
Comment 3 Michael Valenta CLA 2005-02-07 14:43:24 EST
Note that to reproduce this, you may also need to update the branched project 
before pasting just to ensure that all the remote directories are cached.

We have code that will detect copies and purge the CVS folders from them. This 
detection is not happening properly when pasting over a directory for which a 
phantom exists. I'll try and have a look to see if a fix is possible. However, 
given that you can't copy in the file system this way, it is not unreasonable 
to have the same restriction in Eclipse. Merging is the proper way to move 
code from one branch to another.
Comment 4 Michael Valenta CLA 2005-03-31 14:52:34 EST
No time to address this in 3.1
Comment 5 Michael Valenta CLA 2007-07-31 09:25:23 EDT
*** Bug 198373 has been marked as a duplicate of this bug. ***
Comment 6 Eclipse Webmaster CLA 2019-09-06 16:03:35 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.