How can we help you today? How can we help you today?

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?
fatherjack2
0

Comments

2 comments

  • ceacl
    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.
    ceacl
    0
  • fatherjack2
    Ah, I see. Thanks for that. I was looking via TortoiseSVN, thats where I was surprised to see that the file had gone.

    Thanks
    fatherjack2
    0

Add comment

Please sign in to leave a comment.