11/13/2022 0 Comments Smartsvn subversion version![]() Suppose that Dracula decides that the numbers in moons.txt would look better commas. Now let's look at what happens when someone wants to undo changes that have been committed. Let's open it again to double-check-and there's the original contents. …and when SmartSVN asks him to confirm, he clicks "revert" again, and SmartSVN puts his file back the way it was. He realizes that he doesn't want to keep his changes, so he selects "revert"… The next morning, when he comes in, he uses "show changes" to take a look at what happened the previous night. He saves his changes, then loses control of his shape and goes off to howl at the moon. When it comes up, he selects the text he wants to replace, and puts in a couple of lines of bad poetry instead. …selects the file moons.txt, and then double-clicks on it to open it in the editor. Let's go through that sequence of steps using SmartSVN. Subversion's revert command simply throws away local changes to files and puts things back the way they were before those changes were made. He could ask his colleagues to send him their copies of the files, or try to edit them back into their original state by hand (which for some reason hardly ever seems to work).īut he's using Subversion, and hasn't committed his work to the repository, so all he has to do is revert his local changes. Without version control, his choices would be grim. The next day, when he's back in human form, he wants to undo his changes. So his changes don't make a lot of sense. Unfortunately, he forgot that there was a full moon. Suppose that Wolfman's working copy of the monsters project is in sync with the head, which is Revision 12. Smartsvn subversion version how to#In this episode, we will show you how to use version control to recover old versions of your files. Hello, and welcome to the fourth episode of the Software Carpentry lecture on version control. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |