Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Tue, 29 Apr 2008 15:55:43 +0930,    group: microsoft.public.vstudio.sourcesafe        back       


Duplicate? (share, branch and rename)   
I can see in the documentation you can't share a file to a folder that 
has a file of the same name, so I assume the only way to duplicate a 
file (keeping the history of course) is:

1. create a temporary project
2. share and branch to that project
3. rename the branched file
4. share and branch the renamed file back to the original project
5. delete the temporary project (and the branched file still contained 
therein).

Is this really the simplest way to do this? (Drag'n'drop in VSS is 
disabled completely where the source and target project are the same.)

-- 
Regards,
Mark Hurd, B.Sc.(Ma.) (Hons.)
date: Tue, 29 Apr 2008 15:55:43 +0930   author:   Mark Hurd

Re: Duplicate? (share, branch and rename)   
"Mark Hurd"  wrote in message 
news:%23Q8KcHcqIHA.3408@TK2MSFTNGP03.phx.gbl...
>I can see in the documentation you can't share a file to a folder that has 
>a file of the same name, so I assume the only way to duplicate a file 
>(keeping the history of course) is:
>
> 1. create a temporary project
> 2. share and branch to that project
> 3. rename the branched file
> 4. share and branch the renamed file back to the original project
> 5. delete the temporary project (and the branched file still contained 
> therein).
>
> Is this really the simplest way to do this? (Drag'n'drop in VSS is 
> disabled completely where the source and target project are the same.)
>
> -- 
> Regards,
> Mark Hurd, B.Sc.(Ma.) (Hons.)
>

What I've done is:

1.  In the target project, branch the target file if it is already shared.
2.  Rename and delete (not destroy!) the target file.
3.  Share from the source project to the target project.

Older labels in the target project can still recover the original file, 
since it still exists (renamed) in the deleted files for that project.

The newly shared file can still be deleted because there won't be a 
duplicate file in the deleted files for the project, since it was renamed.

-Mark
date: Tue, 29 Apr 2008 21:54:02 -0700   author:   Mark Tolonen

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us