Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Source Safe / April 2008

Tip: Looking for answers? Try searching our database.

Duplicate? (share, branch and rename)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark Hurd - 29 Apr 2008 07:25 GMT
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.)

Signature

Regards,
Mark Hurd, B.Sc.(Ma.) (Hons.)

Mark Tolonen - 30 Apr 2008 05:54 GMT
>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
[quoted text clipped - 9 lines]
> 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.)

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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.