| Author |
Message |
fatherjack
Joined: 13 Mar 2007 Posts: 224 Location: Cornwall
|
Posted: Wed Jan 27, 2010 2:59 pm Post subject: Dropped objects just disappear |
|
|
I may be misunderstanding things here but when I drop a table in the database I would have expected the source control to keep what the table definition was as version x -1 and version x as an empty description.
It appears to simply delete the items in the repository, is that right and / or what people want it to do? _________________ -----------------------------------------
Senior DBA
Careers South West Ltd |
|
| Back to top |
|
 |
ceacl
Joined: 03 Jun 2009 Posts: 12
|
Posted: Mon Feb 01, 2010 4:59 pm Post subject: |
|
|
Think of your repository as a snapshot of your system at any given time. Like a timeline. When you drop an object and commit that drop to the repository your HEAD (latest) revision will not contain that object definition and therefore represents the current state of your system.
If you want to travel back in time to before the object was dropped you can certainly do that in any number of ways. My preferred choice is to use TortoiseSVN to either browse to a previous revision in the repository or browse to the object in question using TortoiseSVN browser and do a Show Log. This method shows a complete history of changes made to that object.
Anything that gets committed to your repository is there forever. There is no way to delete it from the repository short of deleting the entire repository. You may not see the object definitions you deleted if you're looking at the HEAD revision but you can see it if you go back in time to a prior revision.
Hope that helps. |
|
| Back to top |
|
 |
fatherjack
Joined: 13 Mar 2007 Posts: 224 Location: Cornwall
|
Posted: Tue Feb 02, 2010 9:52 am Post subject: |
|
|
Ah, I see. Thanks for that. I was looking via TortoiseSVN, thats where I was surprised to see that the file had gone.
Thanks _________________ -----------------------------------------
Senior DBA
Careers South West Ltd |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group