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 / July 2006

Tip: Looking for answers? Try searching our database.

recursive rollback?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jmagaram - 11 Jul 2006 01:24 GMT
i labeled a project and subsequently made a lot of changes. now i want to
permanently discard all the subsequent changes and rollback to the labeled
version. is there a way to do this? i see a "rollback" button but it applies
to a single file, not to a whole project.
Michael Buechel - 11 Jul 2006 10:31 GMT
Make a get latest to the label and do a new check in.

Signature

Kind regards, Michael Buechel

while(!sleep())
  sheeps++;

>i labeled a project and subsequently made a lot of changes. now i want to
> permanently discard all the subsequent changes and rollback to the labeled
> version. is there a way to do this? i see a "rollback" button but it
> applies
> to a single file, not to a whole project.
jmagaram - 11 Jul 2006 18:42 GMT
i'm not sure of the specific steps. i did:

view history
select the label
click "Get"
choose "Recursive" in the dialog box and choose "OK"

so now the labeled version is visible in Visual Studio correctly, and
everything appears to be checked in. so how do i check in that old version
again to effectively do a rollback? when i attempt to do a "Check Out" on the
whole thing, Visual Studio first gets the latest version. so how do i do what
you recommend below?

is there now way to do a recursive rollback? i assume this would be a top
priority feature since source control is used as an Undo mechanism. what am i
missing? am i not using the tool correctly or with the right methodology?

> Make a get latest to the label and do a new check in.
>
[quoted text clipped - 3 lines]
> > applies
> > to a single file, not to a whole project.
Michael Buechel - 11 Jul 2006 22:37 GMT
After getting the label do a recursive checkout without getting
a local copy (There is a checkbox).

After that, check in, thats it.

Signature

Kind regards, Michael Buechel

while(!sleep())
  sheeps++;

jmagaram - 11 Jul 2006 23:05 GMT
thanks. so there is no recursive rollback? doing what you proposed certainly
gets the source code back to where i want it to be, but it would be cleaner
if i could simply throw away all the changes since the label.

> After getting the label do a recursive checkout without getting
> a local copy (There is a checkbox).
>
> After that, check in, thats it.

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.